home *** CD-ROM | disk | FTP | other *** search
/ Hacker's Secrets 4 / Hacker's Secrets 4.iso / faq / odd501.txt < prev    next >
Text File  |  1997-01-06  |  166KB  |  3,169 lines

  1. Subject: VIRUS-L/comp.virus Frequently Asked Questions (FAQ) v2.00
  2. Supersedes: <computer-virus/faq_848196893@rtfm.mit.edu>
  3. Date: 17 Dec 1996 06:38:54 GMT
  4. Summary: This posting contains a list of Frequently Asked Questions,
  5.          and their answers, about computer viruses.  It should be read
  6.          by anyone who wishes to post to VIRUS-L/comp.virus.
  7. X-Last-Updated: 1995/09/10
  8.  
  9.  
  10. -----BEGIN PGP SIGNED MESSAGE-----
  11.  
  12.  
  13.             Frequently Asked Questions on Virus-L/comp.virus
  14.  
  15.                               Release 2.00
  16.  
  17.                Last Updated:  9 October 1995, 11:00 AM NZD
  18.  
  19.  
  20.  
  21. =========================
  22. = Using this FAQ sheet: =
  23. =========================
  24.  
  25.  
  26. This document is intended to answer some Frequently Asked Questions
  27. (FAQs) about computer viruses.  This FAQ sheet has been compiled by some
  28. of the main contributors to the Virus-L mailing list and its USENET news
  29. fan-out, comp.virus.  The Preface Section (below) explains the multi-
  30. part nature of the FAQ sheet and how to ensure you have "the genuine
  31. article", and gives details on version numbers and contacting the
  32. authors with questions and suggestions.  If you are seeking help after
  33. discovering what you suspect is a virus on your computer, read the
  34. Preface Section, skim through Sections A and B for the essential jargon,
  35. then concentrate on Section C.
  36.  
  37. If you feel that you may have found a new virus, or are not quite sure
  38. if some file or boot sector is infected, please refer to Section F
  39. Question #4 (F4) before posting a request for assistance.  The answer to
  40. this question has been developed to ensure new readers of Virus-L/
  41. comp.virus understand the protocol for raising such questions and to
  42. help them avoid asking questions that can be answered in this document.
  43. If you are looking for help in designing and implementing an antivirus
  44. policy or system, read all of Sections B through F inclusive, paying
  45. particular attention to Section D.
  46.  
  47. Please read the full list of questions carefully--as with most complex
  48. topics, dozens of different virus-related questions turn out to be about
  49. similar phenomena.  If you don't find your exact question here, look
  50. closely at the ones that seem vaguely similar.
  51.  
  52. Above all, remember that the time to really worry about viruses is
  53. *before* your computer gets one!
  54.  
  55.  
  56. ====================
  57. = Preface Section: =
  58. ====================
  59.  
  60. The Virus-L/comp.virus FAQ sheet is normally posted to on-line services
  61. and sent via e-mail in one of two forms:  As a single, large (>160KB)
  62. file, or in four separate pieces.  Either or both of these forms may be
  63. available for download from FTP sites and BBSes.
  64.  
  65. The one-piece FAQ sheet should be available in a file called
  66. vlfaqxyy.txt, where "xyy" is the current version number (starting from
  67. 200 in mid-1995 for version 2.00).  The multi-part version is created by
  68. splitting the main FAQ sheet into four pieces as follows:
  69.  
  70.     Filename          Contains
  71.                     FAQ Sections
  72.    ==============================
  73.     vlfxyy-1.txt       A & B
  74.     vlfxyy-2.txt       C & D
  75.     vlfxyy-3.txt       E & F
  76.     vlfxyy-4.txt       G
  77.  
  78. (with "xyy" again representing the current version number).  Please do
  79. not make your own multi-part FAQ, as each of the parts in the "official"
  80. multi-part version include additional preface information.
  81.  
  82. Either or both versions may also be available in some form of compressed
  83. archive--in this case the "name part" of the filename should be the same
  84. as the original file with the extension being replaced (or appended) as
  85. appropriate for the archiving method used.  Please *do not* repackage
  86. the multi-part FAQ into one large archive file, as this defeats the sole
  87. purpose for creating it--to ensure that the FAQ sheet is "officially"
  88. available in a readable form that will pass unmolested through most
  89. e-mail gateways.
  90.  
  91. All the files in either version of the FAQ sheet are signed with Nick
  92. FitzGerald's PGP key.  Nick's public key can be retrieved from the main
  93. PGP key servers.  If you do not know what PGP is, but wish to validate
  94. your copy of the FAQ sheet, you should read the USENET newsgroup
  95. alt.security.pgp [please do *not* e-mail me, as I am not a PGP expert--
  96. FAQ maintainer].
  97.  
  98. The FAQ sheet is a dynamic document, changing as people's questions
  99. change.  The version number also changes as *any* changes are made.
  100. Version numbers containing a "d" are drafts and should *not* be made
  101. publicly available, nor distributed.  We ask for your cooperation in
  102. deleting and not further distributing "d" versions of the FAQ sheet.  If
  103. you have any questions or contributions, please e-mail them to the FAQ
  104. sheet maintainer, Nick FitzGerald, at:
  105.  
  106.    n.fitzgerald@csc.canterbury.ac.nz
  107.  
  108. The most recent copy of the FAQ sheet will always be available on the
  109. Virus-L/comp.virus archives, including by anonymous FTP on corsa.ucr.edu
  110. (IP = 138.23.166.133) in the directory pub/virus-l.
  111.  
  112. A WWW version of the FAQ sheet, with cross-references and file links is
  113. currently under development, as is a WinHelp version with cross-
  114. references (if you would like to assist with these efforts, or to port
  115. one of these formats to another popular hypertext help format, please
  116. contact the FAQ sheet maintainer so we can better coordinate this work).
  117.  
  118. In various places the FAQ sheet mentions products by name.  This is
  119. usually only for illustrative purposes.  Such references should *not* be
  120. taken to imply that all, some, or any of the contributors to this FAQ
  121. sheet endorse any such product for any purpose or that such products are
  122. the *best* examples of what is being discussed.  Such refernces are
  123. usually because the products named were the first to implement a
  124. particular feature or function.  Further, that a given product is *not*
  125. mentioned in the FAQ should not be taken as an indication of its quality
  126. or suitability for any task.
  127.  
  128. Various brand and product names are used throughout the FAQ sheet--these
  129. remain trademarks or registered trademarks of their respective holders.
  130.  
  131. Unless indicated otherwise, prices are given in US dollars and should be
  132. taken as guides only.  Telephone numbers include an indication of the
  133. time-zone relative to GMT--some of these are very approximate, but
  134. should be close enough to save you ringing in the middle of the
  135. receiver's night!
  136.  
  137.  
  138.  
  139. Nick FitzGerald, Virus-L/comp.virus FAQ sheet maintainer.
  140.  
  141.  
  142. ================================================
  143. = Primary contributors (in alphabetical order) =
  144. ================================================
  145.  
  146. The following people have provided significant content and/or editorial
  147. input to this FAQ sheet:
  148.  
  149.      Mark Aitchison <m.aitchison@phys.canterbury.ac.nz>
  150.      Vaughan Bell <vaughan@computing-department.poly-south-west.ac.uk>
  151.      Claude Bersano-Hayes <hayes@urvax.urich.edu>
  152.      Matt Bishop <matt.bishop@dartmouth.edu>
  153.      Vesselin Bontchev <bontchev@complex.is>
  154.      Bruce Burrell <bpb@us.itd.umich.edu>
  155.      David Chess <chess@watson.ibm.com>
  156.      John-David Childs <con_jdc@lewis.umt.edu>
  157.      Olivier M. J. Crepin-Leblond <o.crepin-leblond@ic.ac.uk>
  158.      Nick FitzGerald <n.fitzgerald@csc.canterbury.ac.nz>
  159.      Richard Ford <virusbtn@vax.ox.ac.uk>
  160.      Alan Glover <aglover@acorn.co.uk>
  161.      Sarah Gordon <sgordon@dockmaster.ncsc.mil>
  162.      Yaron Y. Goland <ygoland@seas.ucla.edu>
  163.      Mikko Hypponen <mikko.hypponen@datafellows.fi>
  164.      John Kida <john_kida@ins.com>
  165.      Kevin Marcus <datadec@cs.ucr.edu>
  166.      Anthony Naggs <tony@vps.cis.co.za>
  167.      Donald G. Peters <Peters@Dockmaster.NCSC.Mil>
  168.      A. Padgett Peterson <padgett%tccslr.dnet@mmc.com>
  169.      Y. Radai <radai@hujivms.huji.ac.il>
  170.      Brian Seborg <bseborg@fdic.gov>
  171.      Fridrik Skulason <frisk@complex.is>
  172.      Rob Slade <roberts@decus.ca> or <rslade@sfu.ca>
  173.      Gene Spafford <spaf@cs.purdue.edu>
  174.      Otto Stolz <rzotto@nyx.uni-konstanz.de>
  175.      Ken van Wyk <krvw@assist.mil>
  176.  
  177. ====================
  178.  
  179.              Questions answered in this document
  180.  
  181. Section A:   Sources of Information and Antivirus Software
  182.              (Where can I find HELP?!!)
  183.  
  184. A1)  What is Virus-L/comp.virus?
  185. A2)  What is the difference between Virus-L and comp.virus?
  186. A3)  How do I get onto or off Virus-L/comp.virus?
  187. A4)  What are the guidelines for Virus-L?
  188. A5)  How can I get back-issues of Virus-L?
  189. A6)  What are the known viruses, their names, major symptoms and
  190.      possible cures?
  191. A7)  Where can I get free or shareware antivirus programs?
  192. A8)  Where can I get more information on viruses, etc?
  193. A9)  Why is so much of the discussion in Virus-L/comp.virus about PCs
  194.      and DOS?  Is this forum only for the PC world?
  195.  
  196.  
  197. Section B:   Definitions
  198.              (What is ...?)
  199.  
  200. B1)  What are computer viruses (and why should I worry about them)?
  201. B2)  What is a Worm?
  202. B3)  What is a Trojan Horse?
  203. B4)  What are the main types of PC viruses?
  204. B5)  What is a stealth virus?
  205. B6)  What is a polymorphic virus?
  206. B7)  What are "fast" and "slow" infectors?
  207. B8)  What is a sparse infector?
  208. B9)  What is a companion virus?
  209. B10) What is an armored virus?
  210. B11) What is a cavity virus?
  211. B12) What is a tunnelling virus?
  212. B13) What is a dropper?
  213. B14) What is an ANSI bomb?
  214. B15) Miscellaneous Jargon and Abbreviations
  215.  
  216.  
  217. Section C:   Virus Detection
  218.              (Is my computer infected?  What do I do?)
  219.  
  220. C1)  What are the symptoms and indications of a virus infection?
  221. C2)  What steps should be taken in diagnosing and identifying viruses?
  222. C3)  What is the best way to remove a virus?
  223. C4)  What does the <insert name here> virus do?
  224. C5)  What are "false positives" and "false negatives"?
  225. C6)  Can an antivirus program itself be infected?
  226. C7)  Where can I get a virus scanner for my Unix system?
  227. C8)  Why does my scanner report an infection only sometimes?
  228. C9)  I think I have detected a new virus; what do I do?
  229. C10) CHKDSK reports 639K (or less) total memory on my system; am I
  230.      infected?
  231. C11) I have an infinite loop of sub-directories on my hard drive; am I
  232.      infected?
  233. C12) Can a PC not running DOS be infected with a common DOS virus?
  234. C13) My hard-disk's file system has been garbled:  Do I have a virus?
  235.  
  236.  
  237. Section D:   Protection Plans
  238.              (What should I do to prepare against viruses?)
  239.  
  240. D1)  What is the best antivirus program?
  241. D2)  Is it possible to protect a computer system with only software?
  242. D3)  Is it possible to write-protect the hard disk with software only?
  243. D4)  What can be done with hardware protection?
  244. D5)  Does setting a file's attributes to READ ONLY protect it from
  245.      viruses?
  246. D6)  Do password/access control systems protect my files from viruses?
  247. D7)  Do the protection systems in DR DOS work against viruses?
  248. D8)  Does a write-protect tab on a floppy disk stop viruses?
  249. D9)  Do local area networks (LANs) help to stop viruses or do they
  250.      facilitate their spread?
  251. D10) What is the proper way to make backups?
  252.  
  253.  
  254. Section E:   Facts and Fibs About Computer Viruses
  255.              (Can a virus...?)
  256.  
  257. E1)  Can boot sector viruses infect non-bootable DOS floppy disks?
  258. E2)  Can a virus hide in a PC's CMOS memory?
  259. E3)  Can a PC virus hide in Extended or in Expanded RAM in a PC?
  260. E4)  Can a virus hide in a PC's Upper Memory or its High Memory Area?
  261. E5)  Can a virus infect data files?
  262. E6)  Can viruses spread from one type of computer to another?
  263. E7)  Are mainframe computers susceptible to computer viruses?
  264. E8)  Some people say that disinfecting files is a bad idea.  Is that
  265.      true?
  266. E9)  Can I avoid viruses by avoiding shareware, free software or games?
  267. E10) Can I contract a virus on my PC by performing a "DIR" of an
  268.      infected floppy disk?
  269. E11) Is there any risk in copying data files from an infected floppy
  270.      disk to a clean PC's hard disk?
  271. E12) Can a DOS virus survive and spread on an OS/2 system using the
  272.      HPFS file system?
  273. E13) Under OS/2 2.0+, could a virus infected DOS session infect another
  274.      DOS session?
  275. E14) Can normal DOS viruses work under MS Windows?
  276. E15) Can I get a virus from reading e-mail, BBS message forums or
  277.      USENET News?
  278. E16) Can a virus "hide" in a GIF or JPEG file?
  279.  
  280.  
  281. Section F:   Miscellaneous Questions
  282.              (I have heard...  I was just wondering...)
  283.  
  284. F1)  How many viruses are there?
  285. F2)  How do viruses spread so quickly?
  286. F3)  What is the correct plural of "virus"?  "Viruses" or "viri" or
  287.      "virii" or "vira" or...
  288. F4)  When reporting a virus infection (and looking for assistance), what
  289.      information should be included?
  290. F5)  How often should we upgrade our antivirus tools to minimize
  291.      software and labor costs and maximize our protection?
  292. F6)  What are "virus simulators" and what use are they?
  293. F7)  I've heard talk of "good viruses".  Is it really possible to use a
  294.      computer virus for something useful?
  295. F8)  Wouldn't adding self-checking code to your programs be a good idea?
  296.  
  297.  
  298. Section G:   Specific Virus and Antivirus Software Questions...
  299.  
  300. G1)  I was infected by the Jerusalem virus and disinfected the infected
  301.      files with my favorite antivirus program.  However, WordPerfect
  302.      and some other programs still refuse to work.  Why?
  303. G2)  Is my disk infected with the Stoned virus?
  304. G3)  I was told that the Stoned virus displays the text "Your PC is now
  305.      Stoned" at boot time.  I have been infected by this virus several
  306.      times, but have never seen the message.  Why?
  307. G4)  I was infected by both Stoned and Michelangelo.  Why has my
  308.      computer become unbootable?  And why, each time I run my favorite
  309.      scanner, does it find one of the viruses and say that it is
  310.      removed, but when I run it again, it says that the virus is still
  311.      there?
  312. G5)  My scanner finds the Filler and/or Israeli Boot virus in memory,
  313.      but after I boot from a clean floppy it reports no viruses.  Am I
  314.      infected?
  315. G6)  I was infected with Flip and now a large part of my hard disk
  316.      seems to have disappeared.  What has happened?
  317. G7)  What does the GenB and/or the GenP virus do?
  318. G8)  How do I "boot from a clean floppy"?
  319. G9)  My PC diagnostic utility lists "Cascade" amongst the hardware
  320.      interrupts (IRQs).  Does this mean I have the Cascade virus?
  321. G10) Occasionally the text "welcome datacomp" appears in my Mac
  322.      documents without me typing it.  Is this a virus?
  323. G11) How good are the antivirus tools included with MS-DOS 6?
  324. G12) When I do a "DIR | MORE", I see two files with random names that
  325.      are not there when I just use "DIR".  On my friends's system they
  326.      cannot be seen.  Do I have a virus?
  327. G13) What is the ChipAway virus?  (Or ChipAwayVirus?)
  328.  
  329.  
  330.  
  331. ===============================================================
  332. = Section A.   Sources of Information and Antivirus Software. =
  333. ===============================================================
  334.  
  335. A1)  What is Virus-L/comp.virus?
  336.  
  337. Virus-L and comp.virus are discussion forums which focus on computer
  338. virus issues.  More specifically, Virus-L is an electronic mailing list
  339. and comp.virus is a USENET newsgroup.  Both groups are moderated; all
  340. submissions are sent to the moderator who decides if a submission should
  341. be distributed to the groups.  For more information, including a copy of
  342. the posting guidelines, see the file virus-l.README, available by
  343. anonymous FTP on corsa.ucr.edu in the pub/virus-l directory.
  344.  
  345.  
  346. A2)  What is the difference between Virus-L and comp.virus?
  347.  
  348. Virus-L is a mailing list while comp.virus is a newsgroup.  Virus-L is
  349. distributed in "digest" format (with multiple e-mail postings in one
  350. large digest) and comp.virus is distributed as individual news postings.
  351. However, the content of the two groups is identical.
  352.  
  353.  
  354. A3)  How do I get onto or off Virus-L/comp.virus?
  355.  
  356. To subscribe to Virus-L, send e-mail to LISTSERV@LEHIGH.EDU saying "SUB
  357. VIRUS-L your-name".  For example:
  358.  
  359.   SUB VIRUS-L Jane Doe
  360.  
  361. To be removed from the Virus-L mailing list, send a message to
  362. LISTSERV@LEHIGH.EDU saying "SIGNOFF VIRUS-L".
  363.  
  364. To "subscribe" to comp.virus, simply use your favorite USENET news
  365. reader to read the group.
  366.  
  367.  
  368. A4)  What are the guidelines for Virus-L?
  369.  
  370. The posting guidelines are available by anonymous FTP on corsa.ucr.edu.
  371. Retrieve the file pub/virus-l/virus-l.README for the most recent copy.
  372. In general, however, the moderator requires discussions to be polite and
  373. non-commercial.  Objective postings of product availability, product
  374. reviews, etc, are fine, but commercial advertisements are not.  Requests
  375. for virus samples (binary or disassembly) are forbidden.  Technical
  376. discussions are strongly encouraged, however, within reason.
  377.  
  378.  
  379. A5)  How can I get back-issues of Virus-L?
  380.  
  381. Back-issues of Virus-L/comp.virus date back to the group's inception, on
  382. 21 April, 1988.  The anonymous FTP archive at cs.ucr.edu carries all of
  383. the Virus-L back issues.  Retrieve the file pub/virus-l/README for more
  384. information on the Virus-L/comp.virus archives.
  385.  
  386.  
  387. A6)  What are the known viruses, their names, major symptoms and
  388.      possible cures?
  389.  
  390. The reader should be aware that there is no universally accepted naming
  391. convention for viruses, nor is there any standard means of testing.  As
  392. a consequence nearly *all* virus information is highly subjective and
  393. open to interpretation and dispute.
  394.  
  395. There are several major sources of information on specific viruses.
  396. Probably the largest one is Patricia Hoffman's hypertext VSUM.  While
  397. VSUM is quite complete it only covers PC viruses and it is regarded by
  398. many in the antivirus field as being inaccurate, so we advise you not to
  399. rely solely on it.  It can be downloaded from most major archive sites.
  400.  
  401. A more precise source of information is the Computer Virus Catalog,
  402. published by the Virus Test Center in Hamburg.  It contains highly
  403. technical descriptions of computer viruses for several platforms: DOS,
  404. Mac, Amiga, Atari ST and Unix.  Unfortunately, the DOS section is quite
  405. incomplete.  The CVC is available by anonymous FTP from
  406. ftp.informatik.uni-hamburg.de (IP = 134.100.4.42), directory
  407. pub/virus/texts/catalog.  (A copy of the CVC is also available by
  408. anonymous FTP on corsa.ucr.edu in the directory pub/virus-l/docs/vtc.)
  409.  
  410. Another small collection of good technical descriptions of PC viruses,
  411. called CARObase is also available from ftp.informatik.uni-hamburg.de, in
  412. the directory /pub/virus/texts/carobase.
  413.  
  414. A fourth source of information is the monthly Virus Bulletin, published
  415. in the UK.  Among other things, it gives detailed technical information
  416. on viruses (see A8); a one year subscription, however, costs $395.  US
  417. subscriptions can be ordered by calling (203) 431 8720 (GMT-5/-4) or
  418. writing to 590 Danbury Road, Ridgefield, CT 06877; for European
  419. subscriptions, the number is +44 1235 555139 (GMT+0/-1) and the address
  420. is: 21 The Quadrant, Abingdon, OXON, OX14 3YS, ENGLAND.  General
  421. enquiries can be sent to virusbtn@vax.ox.ac.uk.
  422.  
  423. Another source of information is the book "Virus Encyclopedia" which is
  424. part of the printed documentation of Dr. Solomon's AntiVirus ToolKit (a
  425. commercial DOS antivirus program).  It is more complete than the CVC
  426. list and just as accurate; however it lists only DOS viruses.  This book
  427. may be available separately
  428.  
  429. The on-line help system of the shareware antivirus product Anti-Virus
  430. Pro contains a large and relatively exact collection of virus
  431. descriptions and even includes demonstrations of several of the audio
  432. and visual effects produced by some viruses. However the text can be
  433. difficult to read because English is not the author's native tongue.
  434.  
  435. The WWW site www.datafellows.fi has an on-line, cross-referenced
  436. database containing descriptions of about 1500 PC viruses, with an
  437. emphasis on viruses "in the wild".  Another network-accessible source of
  438. information pertaining to viruses is provided by IBM AntiVirus, at
  439. http://www.brs.ibm.com/ibmav.html or via gopher at the site
  440. index.almaden.ibm.com (choose "IBM Computer Virus Information Center"
  441. from the main menu).
  442.  
  443. An excellent source of information regarding Apple Macintosh viruses is
  444. the on-line documentation in the freeware Disinfectant program by John
  445. Norstad of Northwestern University.  This is available at most Mac
  446. archive sites.
  447.  
  448.  
  449. A7)  Where can I get free or shareware antivirus programs?
  450.  
  451. The Virus-L/comp.virus archive sites carry publicly distributable
  452. antivirus software products. Up-to-date listings of these antivirus
  453. archive sites are posted monthly to Virus-L/comp.virus (see A5 for
  454. details).
  455.  
  456. Many freeware/shareware DOS antivirus programs are available from the
  457. SimTel Software Repository.  This collection of software is available
  458. via anonymous FTP from ftp.coast.net (IP = 141.210.10.117), with
  459. antivirus software in the directory /SimTel/msdos/virus.  Note that the
  460. SimTel archive is "mirrored" at many anonymous FTP sites, including
  461. wuarchive.wustl.edu (IP = 128.252.135.4, /systems/ibmpc/simtel/virus),
  462. and nic.funet.fi (IP = 128.214.248.6, /pub/msdos/SimTel/virus).  Most of
  463. this software can also be obtained via e-mail in uuencoded form from
  464. various TRICKLE sites, especially in Europe.
  465.  
  466. Likewise, Macintosh antivirus programs can be found in /pub/tools/mac at
  467. coast.cs.purdue.edu.
  468.  
  469. A list of many antivirus programs, including commercial products and one
  470. person's rating of them, can be obtained by anonymous ftp from
  471. corsa.ucr.edu (IP = 138.23.166.33) in pub/virus-l/docs/reviews in the
  472. file slade.quickref.rvw.  This directory also contains detailed product
  473. reviews of many products.
  474.  
  475.  
  476. A8)  Where can I get more information on viruses, etc?
  477.  
  478. Five very good books on computer viruses that cover most of the
  479. introductory and technical questions you might have are:
  480.  
  481. "Computers Under Attack: Intruders, Worms and Viruses" edited by
  482.      Peter J. Denning, ACM Press/Addison-Wesley, 1990.  This is a
  483.      book of collected readings that discuss computer viruses,
  484.      computer worms, break-ins, and social aspects, and many other
  485.      items related to computer security and malicious software.  A
  486.      very solid, readable collection that doesn't require a highly-
  487.      technical background.  Price: $20.50.
  488.  
  489. "Rogue Programs: Viruses, Worms and Trojan Horses" edited by Lance
  490.      J. Hoffman, Van Nostrand Reinhold, 1990.  This is a book of
  491.      collected readings describing in detail how viruses work,
  492.      where they come from, what they do, etc.  It also has
  493.      material on worms, Trojan Horse programs, and other malicious
  494.      software programs.  This book focuses more on mechanism and
  495.      relatively less on social aspects than does the Denning book;
  496.      however, there is an excellent piece by Anne Branscomb that
  497.      covers legal aspects.  Price: $32.95.
  498.  
  499. "A Pathology of Computer Viruses" by David Ferbrache, Springer-
  500.      Verlag, 1992.  This is an in-depth book on the history,
  501.      operation, and effects of computer viruses.  It is one of the
  502.      most complete books on the subject, with an extensive history
  503.      section, a section on Macintosh viruses, network worms, and
  504.      Unix viruses.  Price $49.00.
  505.  
  506. "A Short Course on Computer Viruses", 2nd edition, by Dr. Fred B.
  507.      Cohen, Wiley, 1994.  This book is by a well-known pioneer in
  508.      virus research, who has also written dozens of technical
  509.      papers on the subject.  Price: $35.00 ($45.00 with
  510.      accompanying diskette).
  511.  
  512. "Robert Slade's Guide to Computer Viruses", by Robert Slade,
  513.      Springer-Verlag, 1994.  This book is a comprehensive
  514.      introduction to computer viruses, written in a clear and easy
  515.      style for non-experts.  Price $29.00.
  516.  
  517.  
  518. A somewhat dated, but still useful, high-level description of viruses,
  519. suitable for a complete novice with little computer background is
  520. "Computer Viruses: Dealing with Electronic Vandalism and Programmed
  521. Threats" by Eugene H. Spafford, Kathleen A. Heaphy, and David J.
  522. Ferbrache, ITAA (Arlington, VA), 1989.  ITAA (Information Technology
  523. Association of America) is a computer industry service organization and
  524. not a publisher.  While many people have indicated they find this a very
  525. understandable reference it is now out of print, but portions of it have
  526. been reprinted in many other places, including Denning and Hoffman's
  527. books (above).
  528.  
  529. It is also worth consulting various publications such as _Computers &
  530. Security_ and _SECURE Computing_ (both of which, while not limited to
  531. viruses, contain many relevant papers) and the _Virus Bulletin_
  532. (published in the UK, it contains many technical articles).
  533.  
  534.  
  535. A9)  Why is so much of the discussion in Virus-L/comp.virus about PCs
  536.      and DOS?  Is this forum only for the PC world?
  537.  
  538. No--neither the problem nor this discussion relate only to PCs.  Viral
  539. programs are a property of general-purpose computers, and therefore are,
  540. and will be, a problem for any computer system.  We *are* aware of the
  541. lopsided coverage and welcome the submission of material relevant to
  542. other systems.
  543.  
  544. There are several reasons for the apparent imbalance.  One very general
  545. reason is that users of DOS heavily outnumber the users of other
  546. operating systems.  The discussion in Virus-L/comp.virus therefore tends
  547. to have a preponderance of questions and chat about DOS specific
  548. infections and problems.  We welcome questions, comments and reports
  549. from users of other operating systems and platforms.  If you use a
  550. computer of another type, please do contribute to the discussion.  Just
  551. because the majority are talking about DOS does *not* mean that your
  552. contribution is not welcome.  It may be important precisely because you
  553. have a different perspective.
  554.  
  555. Therefore, let us assure you there is no deliberate attempt being made
  556. to exclude Amiga, Atari, Macintosh, OS/2, UNIX, VMS, Windows (NT, '95 or
  557. any other flavor) or any other platform or operating system from the
  558. discussion or the FAQ sheet.  If you feel that there *is* too much PC
  559. bias, please don't complain about it--tell us something about the virus
  560. situation on *your* system.
  561.  
  562.  
  563. ====================================================
  564. = Section B.   Definitions and General Information =
  565. ====================================================
  566.  
  567. B1)  What are computer viruses (and why should I worry about them)?
  568.  
  569. Fred Cohen "wrote the book" on computer viruses, through his Ph.D.
  570. research, dissertation and various related scholarly publications.  He
  571. developed a theoretical, mathematical model of computer virus behaviour,
  572. and used this to test various hypotheses about virus spread.  Cohen's
  573. formal definition (model) of a virus does not easily translate into
  574. "human language", but his own, well-known, informal definition is "a
  575. computer virus is a computer program that can infect other computer
  576. programs by modifying them in such a way as to include a (possibly
  577. evolved) copy of itself".  Note that a program does not have to perform
  578. outright damage (such as deleting or corrupting files) in order to be
  579. classified as a "virus" by this definition.
  580.  
  581. The problem with Cohen's human language definition is that it doesn't
  582. capture many of the subtleties of his mathematical model--as indeed, few
  583. informal definitions do--and questions arise that can only be answered
  584. by checking his formal model.  Using his formal definitions, Cohen
  585. classifies some things as viruses that most readers of Virus-L/
  586. comp.virus (and many experts) would not consider viruses.  For example,
  587. given certain circumstances on an IBM PC running DOS, the DISKCOPY
  588. program is classified as a virus by Cohen's formalisms.
  589.  
  590. This has led to some tension between what Cohen considers a "virus" and
  591. what is usually discussed on Virus-L.  Several other definitions of
  592. "virus" have been proposed, but it is probably fair to say that most of
  593. us are concerned about things that are viruses by the following
  594. definition:
  595.  
  596. A computer virus is a self-replicating program containing code that
  597. explicitly copies itself and that can "infect" other programs by
  598. modifying them or their environment such that a call to an infected
  599. program implies a call to a possibly evolved copy of the virus.
  600.  
  601. Probably the major distinction between Cohen's definition and "viruses"
  602. as we tend to use the word is that we see them as deliberately designed
  603. to replicate (although there is some debate over this too).  Cohen's
  604. definition does *not* require this (and this would be difficult to build
  605. into his formal model).
  606.  
  607. Note that many people use the term "virus" loosely to cover any sort of
  608. program that tries to hide its possibly malicious function and\or tries
  609. to spread onto as many computers as possible, though some of these
  610. programs may more correctly be called "worms" (see B2) or "Trojan
  611. Horses" (see B3).  Also be aware that what constitutes a "program" for a
  612. virus to infect may include a lot more than is at first obvious--don't
  613. assume too much about what a virus can or can't do!
  614.  
  615. These software "pranks" are very serious; they are spreading faster than
  616. they are being stopped, and even the least harmful of viruses could be
  617. life-threatening.  For example, in the context of a hospital life-
  618. support system, a virus that "simply" stops a computer and displays a
  619. message until a key is pressed, could be fatal.  Further, those who
  620. create viruses can not halt their spread, even if they wanted to.  It
  621. requires a concerted effort from computer users to be "virus-aware",
  622. rather than continuing the ambivalence that has allowed computer viruses
  623. to become such a problem.
  624.  
  625. Computer viruses are actually a special case of something known as
  626. "malicious logic" or "malware", and other forms of malicious logic are
  627. also discussed in Virus-L/comp.virus.  It can be important to understand
  628. the distinctions between viruses and these other forms of malware.
  629.  
  630.  
  631. B2)  What is a Worm?
  632.  
  633. A computer WORM is a self-contained program (or set of programs), that
  634. is able to spread functional copies of itself or its segments to other
  635. computer systems (usually via network connections).
  636.  
  637. Note that unlike viruses, worms do not need to attach themselves to a
  638. host program.  There are two types of worms--host computer worms and
  639. network worms.
  640.  
  641. Host computer worms are entirely contained in the computer they run on
  642. and use network connections only to copy themselves to other computers.
  643. Host computer worms where the original terminates itself after launching
  644. a copy on another host (so there is only one copy of the worm running
  645. somewhere on the network at any given moment), are sometimes called
  646. "rabbits."
  647.  
  648. Network worms consist of multiple parts (called "segments"), each
  649. running on different machines (and possibly performing different
  650. actions) and using the network for several communication purposes.
  651. Propagating a segment from one machine to another is only one of those
  652. purposes.  Network worms that have one main segment which coordinates
  653. the work of the other segments are sometimes called "octopuses."
  654.  
  655. The infamous Internet Worm (perhaps covered best in "The Internet Worm
  656. Program: An Analysis," Eugene H. Spafford, Purdue Technical Report CSD-
  657. TR-823) was a host computer worm, while the Xerox PARC worms were
  658. network worms (a good starting point for these is "The Worm Programs--
  659. Early Experience with a Distributed Computation," Communications of the
  660. ACM, 25, no.3, March 1982, pp. 172-180).
  661.  
  662.  
  663. B3)  What is a Trojan Horse?
  664.  
  665. A TROJAN HORSE is a program that does something undocumented that the
  666. programmer intended, but that some users would not approve of if they
  667. knew about it.  According to some people, a virus is a particular case
  668. of a Trojan Horse, namely one which is able to spread to other programs
  669. (i.e., it turns them into Trojans too).  According to others, a virus
  670. that does not do any deliberate damage (other than merely replicating)
  671. is not a Trojan.  Finally, despite the definitions, many people use the
  672. term "Trojan" to refer only to *non-replicating* malware, so that the
  673. set of Trojans and the set of viruses are disjoint.
  674.  
  675.  
  676. B4)  What are the main types of PC viruses?
  677.  
  678. Generally, there are two main classes of viruses.  The first class
  679. consists of the FILE INFECTORS which attach themselves to ordinary
  680. program files.  These usually infect arbitrary COM and/or EXE programs,
  681. though some can infect any program for which execution or interpretation
  682. is requested, such as SYS, OVL, OBJ, PRG, MNU and BAT files.  There is
  683. also at least one PC virus that "infects" source code files by inserting
  684. code into C language source files that replicates the virus's function
  685. in any executable that is produced from the infected source code files
  686. (see E5 for a more detailed discussion of the issue of "executable"
  687. code).
  688.  
  689. File infectors can be either DIRECT-ACTION or RESIDENT.  A direct-action
  690. virus selects one or more programs to infect each time a program
  691. infected by it is executed.  A resident virus installs itself somewhere
  692. in memory (RAM) the first time an infected program is executed, and
  693. thereafter infects other programs when *they* are executed (as in the
  694. case of the Jerusalem virus) or when other conditions are fulfilled.
  695. Direct-action viruses are also sometimes referred to as NON-RESIDENT.
  696. The Vienna virus is an example of a direct-action virus.  Most viruses
  697. are resident.
  698.  
  699. The second main category of viruses is SYSTEM or BOOT-RECORD INFECTORS:
  700. these viruses infect executable code found in certain system areas on a
  701. disk.  On PCs there are ordinary boot-sector viruses, which infect only
  702. the DOS boot sector, and MBR viruses which infect the Master Boot Record
  703. on fixed disks and the DOS boot sector on diskettes.  Examples include
  704. Brain, Stoned, Empire, Azusa and Michelangelo.  All common boot sector
  705. and MBR viruses are memory resident.
  706.  
  707. To confuse this classification somewhat, a few viruses are able to
  708. infect both files and boot sectors (the Tequila virus is one example).
  709. These are often called "MULTI-PARTITE" viruses, though there has been
  710. criticism of this name; another name is "BOOT-AND-FILE" virus.
  711.  
  712. Aside from the two main classes described above, many antivirus
  713. researchers distinguish either or both of the following as distinct
  714. classes of virus:
  715.  
  716. FILE SYSTEM or CLUSTER viruses (e.g. Dir-II) are those that modify
  717. directory table entries so that the virus is loaded and executed before
  718. the desired program is.  The program itself is not physically altered,
  719. only the directory entry of the program file is.  Some consider these to
  720. be a third category of viruses, while others consider them to be a sub-
  721. category of the file infectors.  LINK virus is another term occasionally
  722. used for these viruses, though it should be avoided, as "link virus" is
  723. commonly used in the Amiga world to mean "file infecting virus."
  724.  
  725. KERNEL viruses target specific features of the programs that contain the
  726. "core" (or "kernel") of an operating system (3APA3A is a DOS kernel
  727. virus and is also multipartite).  A file infecting virus that *can*
  728. infect kernel program files is *not* a kernel virus--this term is
  729. reserved for describing viruses that utilize some special feature of
  730. kernel files (such as their physical location on disk or a special
  731. loading or calling convention).
  732.  
  733.  
  734. B5)  What is a stealth virus?
  735.  
  736. A STEALTH virus is one that, while "active", hides the modifications it
  737. has made to files or boot records.  This is usually achieved by
  738. monitoring the system functions used to read files or sectors from
  739. storage media and forging the results of calls to such functions.  This
  740. means programs that try to read infected files or sectors see the
  741. original, uninfected form instead of the actual, infected form.  Thus
  742. the virus's modifications may go undetected by antivirus programs.
  743. However, in order to do this, the virus must be resident in memory when
  744. the antivirus program is executed and *this* may be detected by an
  745. antivirus program.
  746.  
  747. Example:  The very first DOS virus, Brain, a boot-sector infector,
  748. monitors physical disk I/O and re-directs any attempt to read a Brain-
  749. infected boot sector to the disk area where the original boot sector is
  750. stored.  The next viruses to use this technique were the file infectors
  751. Number of the Beast and Frodo (aka 4096, 4K).
  752.  
  753. Countermeasures:  A "clean" system is needed so that no virus is present
  754. to distort the results of system status checks.  Thus the system should
  755. be started from a trusted, clean, bootable diskette before any virus-
  756. checking is attempted; this is "The Golden Rule of the Trade" (see G8
  757. for help with making a clean boot disk and booting clean).
  758.  
  759.  
  760. B6)  What is a polymorphic virus?
  761.  
  762. A POLYMORPHIC virus is one that produces varied but operational copies
  763. of itself.  These strategies have been employed in the hope that virus
  764. scanners (see D1) will not be able to detect all instances of the virus.
  765.  
  766. One method of evading scan string-driven virus detectors is self-
  767. encryption with a variable key.  These viruses (e.g. Cascade) are not
  768. termed "polymorphic", as their decryption code is always the same.
  769. Therefore the decryptor can be used as a scan string by the simplest
  770. scan string-driven virus scanners (unless another virus uses the
  771. identical decryption routine *and* exact identification (see B15) is
  772. required).
  773.  
  774. A technique for making a polymorphic virus is to choose among a variety
  775. of different encryption schemes requiring different decryption routines:
  776. only one of these routines would be plainly visible in any instance of
  777. the virus (e.g. the Whale virus).  A scan string-driven virus scanner
  778. would have to exploit several scan strings (one for each possible
  779. decryption method) to reliably identify a virus of this kind.
  780.  
  781. More sophisticated polymorphic viruses (e.g. V2P6) vary the sequences of
  782. instructions in their variants by interspersing the decryption
  783. instructions with "noise" instructions (e.g. a No Operation instruction
  784. or an instruction to load a currently unused register with an arbitrary
  785. value), by interchanging mutually independent instructions, or even by
  786. using various instruction sequences with identical net effects (e.g.
  787. Subtract A from A, and Move 0 to A).  A simple-minded, scan string-based
  788. virus scanner would not be able to reliably identify all variants of
  789. this sort of virus; rather, a sophisticated "scanning engine" has to be
  790. constructed after thorough research into the particular virus.
  791.  
  792. One of the most sophisticated forms of polymorphism used so far is the
  793. "Mutation Engine" (MtE) which comes in the form of an object module.
  794. With the Mutation Engine any virus can be made polymorphic by adding
  795. certain calls to its assembler source code and linking to the mutation-
  796. engine and random-number generator modules.
  797.  
  798. The advent of polymorphic viruses has rendered virus-scanning an ever
  799. more difficult and expensive endeavor; adding more and more scan strings
  800. to simple scanners will not adequately deal with these viruses.
  801.  
  802.  
  803. B7)  What are "fast" and "slow" infectors?
  804.  
  805. A typical file infector (such as the Jerusalem) copies itself to memory
  806. when a program infected by it is executed, and then infects other
  807. programs when they are executed.
  808.  
  809. A FAST infector is a virus that, when it is active in memory, infects
  810. not only programs which are executed, but even those that are merely
  811. opened.  The result is that if such a virus is in memory, running a
  812. scanner or integrity checker can result in all (or at least many)
  813. programs becoming infected.  Examples are the Dark Avenger and the Frodo
  814. viruses.
  815.  
  816. The term "SLOW infector" is sometimes used to refer to a virus that only
  817. infect files as they are modified or as they are created.  The purpose
  818. is to fool people who use integrity checkers into thinking that
  819. modifications reported by their integrity checker are due solely to
  820. legitimate reasons.  An example is the Darth Vader virus.
  821.  
  822.  
  823. B8)  What is a sparse infector?
  824.  
  825. The term "sparse infector" is sometimes used to describe a virus that
  826. infects only occasionally (e.g. every tenth program executed), or only
  827. files whose lengths fall within a narrow range, etc.  By infecting less
  828. often, such viruses try to minimize the probability of being discovered.
  829.  
  830.  
  831. B9)  What is a companion virus?
  832.  
  833. A COMPANION virus is one that, instead of modifying an existing file,
  834. creates a new program which (unknown to the user) is executed instead of
  835. the intended program.  On exit, the new program executes the original
  836. program so that things appear normal.  On PCs this has usually been
  837. accomplished by creating an infected .COM file with the same name as an
  838. existing .EXE file.  Integrity checking antivirus software that only
  839. looks for modifications in existing files will fail to detect such
  840. viruses.
  841.  
  842.  
  843. B10) What is an armored virus?
  844.  
  845. An ARMORED virus is one that uses special tricks to make tracing,
  846. disassembling and understanding of its code more difficult.  A good
  847. example is the Whale virus.
  848.  
  849.  
  850. B11) What is a cavity virus?
  851.  
  852. A CAVITY VIRUS is one which overwrites a part of the host file that is
  853. filled with a constant (usually nulls), without increasing the length of
  854. the file, but preserving its functionality.  The Lehigh virus was an
  855. early example of a cavity virus.
  856.  
  857.  
  858. B12) What is a tunnelling virus?
  859.  
  860. A TUNNELLING VIRUS is one that finds the original interrupt handlers in
  861. DOS and the BIOS and calls them directly, thus bypassing any activity
  862. monitoring program (see D1) which may be loaded and have intercepted the
  863. respective interrupt vectors in its attempt to detect viral activity.
  864. Some antivirus software also uses tunnelling techniques in an attempt to
  865. bypass any unknown or undetected virus that may be active when it runs.
  866.  
  867.  
  868. B13) What is a dropper?
  869.  
  870. A DROPPER is a program that has been designed or modified to "install" a
  871. virus onto the target system.  The virus code is usually contained in a
  872. dropper in such a way that it won't be detected by virus scanners that
  873. normally detect that virus (i.e., the dropper program is not *infected*
  874. with the virus).  While quite uncommon, a few droppers have been
  875. discovered.  A dropper is effectively a Trojan Horse (see B3) whose
  876. payload is installing a virus infection.  A dropper which installs a
  877. virus only in memory (without infecting anything on the disk) is
  878. sometimes called an "injector".
  879.  
  880.  
  881. B14) What is an ANSI bomb?
  882.  
  883. An "ANSI bomb" is a sequence of characters, usually embedded in a text
  884. file, that reprograms various keyboard functions of computers with ANSI
  885. console (screen and keyboard) drivers.  In theory a special sequence of
  886. characters could have been included in this FAQ sheet to reprogram your
  887. Enter key to issue the command "format c:" with a return character
  888. tacked on the end.
  889.  
  890. Such a possibility however, need not translate into much of a threat.
  891. It is rare for modern software to require the computer it runs on to
  892. have an ANSI console, so few PCs or other machines should load ANSI
  893. drivers.  Also, few people use software that simply "types" output to
  894. the terminal device, so such an ANSI bomb in an e-mail or News posting
  895. would most likely not reprogram your keyboard anyway.  Further, although
  896. FORMAT C: may be catastrophic under certain versions of DOS, it won't
  897. hurt Macintoshes and would probably have very unexpected, or no, effects
  898. on other systems.
  899.  
  900. If you are at all worried about the possibility of having something
  901. untoward happen on your PC due to an ANSI bomb *and* you have to load an
  902. ANSI driver (some communications software still requires it), look for
  903. one of the third-party ANSI drivers which abound on BBSes and FTP sites.
  904. Most of these have improved performance over DOS's ANSI.SYS *and* either
  905. do not support, or let you disable, keyboard re-mapping.
  906.  
  907.  
  908. B15) Miscellaneous Jargon and Abbreviations
  909.  
  910. AV = antivirus.  A commonly used shorthand on Virus-L/comp.virus, as in
  911. "av software".
  912.  
  913. BSI = Boot Sector Infector: a virus that takes control when the computer
  914. attempts to boot.  These are found in the boot sectors of floppy disks,
  915. and the MBRs or boot sectors of hard disks (see B4 for more details).
  916. BSIs are also known as BSVs (Boot Sector Viruses).
  917.  
  918. CMOS = Complementary Metal Oxide Semiconductor: A memory area that is
  919. used in AT class, and higher, PCs for storage of system information.
  920. CMOS is battery backed RAM (see below), originally used to maintain date
  921. and time information while the PC was turned off.  CMOS memory is not in
  922. the normal CPU address space and cannot be executed (see E2 for further
  923. discussion of issues concerning CMOS memory and viruses).
  924.  
  925. DBS = DOS Boot Sector: The first sector of a logical DOS partition on a
  926. hard disk or the first absolute sector of a diskette.  This sector
  927. contains the startup code that actually loads DOS.  This is often
  928. confused with the MBR.  Some boot sector viruses infect the DBS rather
  929. than the MBR when infecting hard disks.
  930.  
  931. DETECTION = The ability of an antivirus program to detect that a virus
  932. is present, without necessarily reporting which particular virus it is
  933. (also see IDENTIFICATION and RECOGNITION, in this section).
  934.  
  935. DOS = Disk Operating System.  We use the term "DOS" to mean any of the
  936. MS-DOS, PC-DOS, DR DOS or Novell DOS systems for PCs and compatibles,
  937. even though there are operating systems called "DOS" on other, unrelated
  938. machines.
  939.  
  940. GERM = The first generation of a virus.  It normally cannot be produced
  941. again during the replication process and is usually created by compiling
  942. the source of the virus.
  943.  
  944. GOAT FILES = Programs which usually do nothing special (e.g., just exit,
  945. or simply display a message), that are used by antivirus researchers to
  946. capture samples of viruses.  This is done to make it easier to
  947. disassemble and understand the virus, because the infected "goat"
  948. program is (usually) simple and does not clutter the disassembly.
  949. Alternative terms are BAIT FILES, DECOY FILES and VICTIM FILES.  In any
  950. of these terms, the word "programs" often replaces the word "files".
  951.  
  952. IDENTIFICATION = The ability of an antivirus program (usually a scanner)
  953. to not only detect the virus and recognize it by name, but also to
  954. recognize it to a high degree of uniqueness.  This allows third parties
  955. to understand which particular virus it is without seeing a sample of
  956. the virus.  EXACT IDENTIFICATION occurs when every section of the non-
  957. modifiable parts of the virus body are uniquely identified.  ALMOST
  958. EXACT IDENTIFICATION occurs if the identification is only good enough to
  959. ensure that an attempt to remove the virus will not result in damage to
  960. the host object by the use of an inappropriate disinfection method (also
  961. see DETECTION and RECOGNITION, in this section).
  962.  
  963. MBR = Master Boot Record: the first absolute sector (track 0, head 0,
  964. sector 1) on a PC hard disk, that usually contains the partition table
  965. but on some PCs may only contain a boot sector.  The MBR is also known
  966. as the MBS (Master Boot Sector).  This is *not* the same as the DOS Boot
  967. Sector, logical sector 0 (see above).
  968.  
  969. PARTITION TABLE = A 64-byte data structure that defines the way a PC's
  970. hard disk is divided into logical sections known as partitions.  While
  971. there is often more than one partition table on a PC's hard disk, the
  972. most important is the one stored *in* the MBR.  This one contains
  973. important extra information such as which partition (if any) should be
  974. booted from.  The partition table is purely data, so is not executed.
  975. Some people erroneously use the term "partition table virus" as a
  976. synonym for "MBR virus".
  977.  
  978. RAM = Random Access Memory: the place programs are loaded into in order
  979. to execute; the significance for viruses is that, to be active, they
  980. must load themselves into part of the RAM.  However, some virus scanners
  981. may declare that a virus is active when it is found in RAM, even though
  982. it may only be left in a buffer area following a disk read operation,
  983. rather than truly being active (see C8 for further discussion of this
  984. issue).
  985.  
  986. RECOGNITION = The ability of an antivirus program (usually a scanner) to
  987. detect a virus and to recognize it by name (also see DETECTION and
  988. IDENTIFICATION, in this section).
  989.  
  990. TARGETING VIRUS = A virus that tries to bypass or hinder the operation
  991. of one or more *specific* antivirus programs.  Also known as RETALIATOR,
  992. RETRO and ANTI-ANTIVIRUS viruses.
  993.  
  994. SCAN STRING = A sequence of bytes (characters) that occur in a known
  995. virus but not, one hopes, in legitimate programs.  Some scanners allow
  996. "wildcards"--positions that are matched by any character--in their scan
  997. strings.  Authors of virus scanners reduce the likelihood of false
  998. positives (see B7) by carefully selecting their scan strings and often
  999. by only searching "likely" parts of target files.
  1000.  
  1001. SEARCH STRING = A synonym for scan string.
  1002.  
  1003. SIGNATURE = A poor synonym for scan string.  We recommend that you avoid
  1004. using this term and use "scan string" or "search string" instead.
  1005.  
  1006. TOM = Top Of Memory: the end of conventional memory--an architectural
  1007. design limit--at the 640KB mark on most PCs.  Some early PCs may not
  1008. have a full 640KB, but the amount of memory is always a multiple of
  1009. 64KB.  A boot-record virus on a PC typically resides just below this
  1010. mark and changes the value which will be reported for the TOM to the
  1011. location of the beginning of the virus so that it won't be overwritten.
  1012. Checking this value for changes can help detect a virus, but there are
  1013. also legitimate reasons why it may change (see C10).  A very few PCs
  1014. with unusual configurations or memory managers may report in excess of
  1015. 640KB.
  1016.  
  1017. TSR = Terminate but Stay Resident: these are PC programs that stay in
  1018. memory while you continue to use the computer for other purposes; they
  1019. include pop-up utilities, network software, and the great majority of
  1020. common viruses.  These can often be seen using utilities such as MEM and
  1021. MSD.
  1022.  
  1023. VX = Virus eXchange.  A shorthand usually reserved for those BBSes and
  1024. FTP sites, and their community of users, that make their virus
  1025. collections "openly" available for downloading.  Exchange of virus
  1026. samples between bona fide members of the antivirus community is not
  1027. tagged with the VX label.
  1028.  
  1029.  
  1030.  
  1031. ================================
  1032. = Section C.   Virus Detection =
  1033. ================================
  1034.  
  1035. C1)  What are the symptoms and indications of a virus infection?
  1036.  
  1037. Many people associate destruction--file corruption, reformatted disks
  1038. and the like--with viruses.  Machines infected with viruses that do this
  1039. kind of damage often display such damages too.  This is unfortunate, as
  1040. usually viruses can be detected or prevented from infecting long before
  1041. they can inflict any (serious) damage, though many viruses have no
  1042. "payload" at all.  Note that viruses that simply reformat the hard disk
  1043. shortly after infecting a machine tend to wipe themselves out faster
  1044. than they spread, so don't get far.
  1045.  
  1046. Thus, the more successful viruses typically try to spread as much as
  1047. possible before delivering their payload, if any.  As these tend to be
  1048. the viruses you are most likely to encounter, you should be aware that
  1049. there are usually symptoms of virus infection before any (or much!)
  1050. damage is done.
  1051.  
  1052. There are various kinds of symptoms that some virus authors have written
  1053. into their programs, such as messages, music and graphical displays.
  1054. The main indications, however, are changes in file sizes and contents,
  1055. changing of interrupt vectors, or the reassignment of other system
  1056. resources.  The unaccounted use of RAM or a reduction in the amount
  1057. reported to be in the machine are important indicators.  Examination of
  1058. program code is valuable to the trained eye, but even a novice can often
  1059. spot the gross differences between a valid boot sector and some viral
  1060. ones.  These symptoms, along with longer disk activity and strange
  1061. behavior from the hardware, may instead be caused by genuine software,
  1062. by harmless "joke" programs, or by hardware faults.
  1063.  
  1064. The only foolproof way to determine that a virus is present is for an
  1065. expert to analyse the assembly code contained in all programs and system
  1066. areas, but this is usually impracticable.  Virus scanners go some way
  1067. towards performing this analysis by looking in that code for known
  1068. viruses; some even use heuristic means to spot "virus-like" code, but
  1069. this is not always reliable.  It is wise to arm yourself with the latest
  1070. antivirus software and to pay close attention to your system.  In
  1071. particular, look for any unexpected change in the memory map or
  1072. configuration as soon as you start the computer.  For users of DOS 5.0+,
  1073. the MEM program with the /C switch is very handy for this.  If you have
  1074. DR DOS, use MEM with the /A switch; if you have an earlier DOS version,
  1075. use CHKDSK or the commonly-available MAPMEM utility.  You don't have to
  1076. know what all the numbers mean, only that they have changed
  1077. *unexpectedly*.  Mac users have "info" options, which give some
  1078. indication of memory use, but may need ResEdit to supply more detailed
  1079. information.
  1080.  
  1081. If you run Windows on your PC and you suddenly start getting messages at
  1082. Windows startup that 32-bit Disk Access cannot be used, this often
  1083. indicates your PC has been infected by a boot-sector virus.
  1084.  
  1085.  
  1086. C2)  What steps should be taken in diagnosing and identifying viruses?
  1087.  
  1088. Most of the time, a virus scanner program will take care of that for
  1089. you.  To help identify problems early, run a virus scanner:
  1090.  
  1091. 1.   On new programs and diskettes (write-protect diskettes before
  1092.      scanning them).
  1093. 2.   When an integrity checker reports a mismatch.
  1094. 3.   When a generic monitoring program sounds an alarm.
  1095. 4.   When you receive an updated version of a scanner (or you have
  1096.      a chance to run a different scanner than the one you have
  1097.      been using).
  1098.  
  1099. Because of the time required, it is not generally advisable to set a
  1100. scanner to check your entire hard disk on every boot.
  1101.  
  1102. If you run into an alarm and your scanner doesn't identify anything or
  1103. doesn't properly clean up for you, first verify that the version you are
  1104. using is the most recent.  Then get in touch with a reputable antivirus
  1105. researcher, who may ask you to send in a copy of the infected file.
  1106. (Also see C9; and F4 if you decide you need to ask for help on Virus-
  1107. L/comp.virus.)
  1108.  
  1109.  
  1110. C3)  What is the best way to remove a virus?
  1111.  
  1112. In order that downtime be short and losses low, do the minimum that you
  1113. must to restore the system to a normal state, starting with booting the
  1114. system from a clean diskette (see G8).  It is *never* necessary to low-
  1115. level format a hard disk to recover from a virus infection!
  1116.  
  1117. If backups of infected or damaged files are available and, in making
  1118. them, appropriate care was taken to ensure that infected files have not
  1119. been included in the backups (see D10), restoring from backup is the
  1120. safest solution, even though it can be a lot of work if many files are
  1121. involved.
  1122.  
  1123. More commonly, a disinfecting program is used, though disinfection is
  1124. somewhat controversial and problematic (see E8).  If the virus is a boot-
  1125. sector infector, you can continue using the computer with relative
  1126. safety (if the hard disk's partition table is left intact) by booting
  1127. from a clean system diskette.  However, it is wise to go through all
  1128. your diskettes removing any infections as, sooner or later, you will be
  1129. careless and leave an infected diskette in the machine when it reboots,
  1130. or give an infected diskette to a someone who doesn't have appropriate
  1131. defenses to avoid infection.
  1132.  
  1133. Most PC boot-sector infections can be cured by the following simple
  1134. process--pay particular care to make the checks in Steps 2 and 3.
  1135.  
  1136. Note that removing an MBR virus in the following way may not be
  1137. desirable, and may even cause valuable information to be lost.  For
  1138. instance, the One_Half virus gradually encrypts the infected hard drive
  1139. "inwards" (starting from the "end" and moving towards the beginning),
  1140. encrypting two more tracks at each boot.  The information about the size
  1141. of the encrypted area is *only* stored in the MBR.  If the virus is
  1142. removed using the method above, this information will be irrecoverably
  1143. lost and part of the disk with unknown size will remain encrypted.
  1144.  
  1145. 1.   Boot the PC from a clean system floppy--this must be MS-DOS
  1146.      5.0 or version 6.0 or higher of PC-DOS or DR DOS.  This
  1147.      diskette should carry copies of the DOS utilities MEM, FDISK,
  1148.      CHKDSK, UNFORMAT and SYS.  (See G8 for help on making an
  1149.      emergency boot diskette.)
  1150.  
  1151. 2.   Check that your memory configuration is "normal" with MEM
  1152.      (see C10 for assistance here).  Check that your hard disk
  1153.      partitioning is normal--run FDISK and use the "Display
  1154.      partition information" option to check this.  MS-DOS 5.0 (or
  1155.      later) users can use UNFORMAT /L /PARTN.
  1156.  
  1157. 3.   Try doing a DIR of your hard disk/s (C:, D:, etc).
  1158.  
  1159.      You should continue with Step 4 *only* if all the tests in
  1160.      Step 2 and this step pass.  Do *NOT* continue if you were
  1161.      unable to correctly access *all* your hard disks, as you will
  1162.      quite possibly damage critical information making permanent
  1163.      data damage or loss more likely.
  1164.  
  1165. 4.   Replace the program (code) part of the MBR by using the MS-,
  1166.      or PC-DOS FDISK /MBR command.  If you use DR DOS 6.0, or
  1167.      later, select the FDISK menu option "Re-write Master Boot
  1168.      Record".
  1169.  
  1170. 5.   Replace the DOS boot sector using the command SYS C: (or
  1171.      whatever is correct for your first hard disk partition).  For
  1172.      this step, the version of DOS on your boot diskette must be
  1173.      *exactly* the same as is installed on your hard disk (this
  1174.      may mean you have to first reboot with a clean boot diskette
  1175.      other than that used in Step 1).  If you are using a disk
  1176.      compression system, such as DoubleSpace of DriveSpace, check
  1177.      the documentation on how to locate the physical drive on
  1178.      which the compressed volume is installed, and apply the SYS
  1179.      command to that instead.  Usually this is drive H: or I:.
  1180.  
  1181. 6.   Reboot from your hard disk and check that all is well--if not
  1182.      (which is unlikely if you made the recommended checks), seek
  1183.      expert help.
  1184.  
  1185. 7.   As you will get re-infected by forgetting an infected
  1186.      diskette in your A: drive at boot time, you have to clean all
  1187.      your floppies as well.  This is harder, as there is no simple
  1188.      way of doing this with standard DOS tools.  You can copy the
  1189.      files from each of your floppies, re-format them and copy the
  1190.      files back, but this is a very tedious process (and prone to
  1191.      destructive errors!).  At this point you probably should
  1192.      consider obtaining some good antivirus software.
  1193.  
  1194. FDISK /MBR will only overwrite the boot loader code in the MBR of the
  1195. *first* hard drive in a system.  However, a few viruses will infect both
  1196. drives in a two drive system.  Although the second hard drive is never
  1197. booted from in normal PC configurations, should the second drive from
  1198. such a machine ever be used as the first drive in a system, it will
  1199. still be infected and in need of disinfecting.
  1200.  
  1201.  
  1202. C4)  What does the <insert name here> virus do?
  1203.  
  1204. If an antivirus program has detected a virus on your computer, don't
  1205. rush to post a question to this list asking what it does.  First, it
  1206. might be a false positive alert (especially if the virus is found only
  1207. in one file--see C5), and second, some viruses are extremely common, so
  1208. questions like "What does the Jerusalem virus do?" or "What does the
  1209. Stoned virus do?" are asked here repeatedly.  While this list is read by
  1210. several antivirus experts, they get tired of perpetually answering the
  1211. same questions over and over again.  In any case, if you really need to
  1212. know what a particular virus does (as opposed to knowing enough to get
  1213. rid of it), you will need a longer treatise than could be given here.
  1214.  
  1215. For example, the Stoned virus replaces the disk's boot record with its
  1216. own, relocating the original to a sector on the disk that may (or may
  1217. not) occur in an unused portion of the root directory of a DOS diskette;
  1218. when active, it sits in an area a few kilobytes below the top of memory.
  1219. All this description could apply to a number of common viruses; but the
  1220. important points of where the original boot sector goes--and what effect
  1221. that has on networking software, non-DOS partitions, and so on--are all
  1222. major questions in themselves.
  1223.  
  1224. Therefore, it is better if you first try to answer your question
  1225. yourself.  There are several sources of information about the known
  1226. computer viruses, so please consult one of them before requesting
  1227. information publicly.  Chances are that your virus is rather well known
  1228. and that it is already described in detail in at least one of these
  1229. sources (see A6 for some help in finding these.)
  1230.  
  1231.  
  1232. C5)  What are "false positives" and "false negatives"?
  1233.  
  1234. A FALSE POSITIVE (or Type-I) error is one in which antivirus software
  1235. claims that a given object is infected by a virus when, in reality, the
  1236. object is clean.  This is a failure of *detection* (see B15).  A FALSE
  1237. NEGATIVE (or Type-II) error is one in which the software fails to
  1238. indicate that an infected object is infected.  Clearly false negatives
  1239. are more serious than false positives, although both are undesirable.
  1240.  
  1241. Following from some of Fred Cohen's work, it has been proven that every
  1242. virus detector must have an infinite number of false positives, false
  1243. negatives, or both.  This is expressed by saying that detection of
  1244. viruses, either by appearance or behavior, is UNDECIDABLE.  The
  1245. interpretation and practical significance of this depends upon the
  1246. interpretation of the terms used, and as with Fred's definition of the
  1247. term "computer virus", there is some debate over this.
  1248.  
  1249. In the case of virus scanners, false positives are rare, but they can
  1250. arise if the scan string chosen for a given virus is also present in
  1251. some benign objects because the string was not well chosen.  In modern
  1252. scanners, most false positives probably occur because some virus
  1253. encryption engines produce very "normal looking" code and scanners that
  1254. only try to decide if a piece of code could have been generated by a
  1255. known virus encryption procedure will occasionally detect "innocent"
  1256. code as "suspicious".  False negatives are more common with virus
  1257. scanners because scanners will miss completely new or heavily modified
  1258. viruses.
  1259.  
  1260. One other serious problem could occur:  A positive that is misdiagnosed.
  1261. As an example, imagine a scanner faced with the Empire virus in a boot
  1262. record that reports it as the Stoned virus.  In this case, use of a
  1263. Stoned-specific "cure" to recover from an Empire infection could result
  1264. in an unreadable disk or loss of extended partitions.  Similarly,
  1265. sometimes "generic" disinfection (see D1) can result in unusable files,
  1266. unless a check is made (e.g. by comparing checksums) that the recovered
  1267. file is identical to the original file.  The better generic disinfection
  1268. products all store information about the original files to allow
  1269. verification of recovery processes.
  1270.  
  1271. A particular type of false positive, where (part of) an *inactive* virus
  1272. is detected, is known as a GHOST POSITIVE.  Ghost positives usually
  1273. occur in one of four situations (the first two of which are examples of
  1274. antivirus programs "upsetting" each other):
  1275.  
  1276. Ghost positives can be caused when the disinfection routine of an
  1277. antivirus program "unhooks" a virus from its target (be it a file or
  1278. boot sector) but it does so in such a way that part of the virus code is
  1279. left intact (though that code will never be executed).  Another
  1280. antivirus program might see this code and report it is an infection.  In
  1281. this case the second antivirus program is seeing a "ghost"--part of a
  1282. virus that was there.
  1283.  
  1284. A scanner may "see" the unencoded scan strings of another scanner, left
  1285. in memory after the first has run or held in memory by a resident
  1286. scanner, and report these "ghosts" as active viruses (see C6 and C8).
  1287.  
  1288. As explained elsewhere (see E10) a copy of an infected diskette boot
  1289. sector, sitting in the disk buffers, may be detected and reported as an
  1290. active virus.
  1291.  
  1292. Disinfection procedures can result in virus "remnants" being left in
  1293. "slack space" (disk space allocated to files but not actually occupied).
  1294. As in the case of copies of infected diskette boot sectors being held in
  1295. disk buffers, these remnants can be detected and incorrectly reported as
  1296. being active.  Ghost positives of this nature should disappear after
  1297. running disk defragmentation or "optimization" programs with the option
  1298. to "clean" slack space.  Occasionally running a defragmenter (like MS-
  1299. DOS 6's DEFRAG) after a full data backup (see D10), is a good idea
  1300. anyway--especially before installing new software.  Unfortunately, DOS's
  1301. DEFRAG does not have a "clean slack space" option, though some third-
  1302. party defragmenters do.  There are also utilities that clean unallocated
  1303. and slack space and these should remove ghost positives caused by
  1304. "remnants".
  1305.  
  1306.  
  1307. C6)  Could an antivirus program itself be infected?
  1308.  
  1309. Yes, so it is important to obtain this software from good sources, and
  1310. to trust results only after running scanners from a "clean" system.  But
  1311. there are situations where a scanner appears to be infected when it
  1312. isn't.
  1313.  
  1314. Most antivirus programs try very hard to identify viral infections only,
  1315. but sometimes they give false alarms (see C5).  If two different
  1316. antivirus programs are both of the "scanner" type, they will contain
  1317. "scan strings" from which they identify viral infections.  If the
  1318. strings are not "encoded", then they may be identified as a virus by
  1319. another scanner type program.  Also, if the scanner does not remove the
  1320. strings from memory after it has run, then another scanner may detect a
  1321. virus string "in memory".  This often causes the second scanner to
  1322. report that your system is "infected", *but* only after you have run the
  1323. first scanner (which may be a memory resident one).  The major
  1324. contributors to this group are so tired of dealing with non-virus
  1325. reports of this sort that they *strongly* recommend users to avoid
  1326. antivirus software which doesn't keep its scan strings encoded in
  1327. memory.
  1328.  
  1329. Some "change detection" antivirus programs add a snippet of code or data
  1330. to a program in order to "protect" it.  (This process is sometimes
  1331. called "inoculation", but this term is also used for other antivirus
  1332. techniques.)  These file changes will likely be detected by other
  1333. "change detection" programs, and may therefore raise a warning of a
  1334. suspicious file change (see F8 for a discussion of the inadvisability of
  1335. adding self-checking code to *existing* programs).
  1336.  
  1337. It is good practice to use more than one antivirus program but, by their
  1338. nature, multiple antivirus programs may confuse each other!
  1339.  
  1340.  
  1341. C7)  Where can I get a virus scanner for my Unix system?
  1342.  
  1343. Basically, you shouldn't bother scanning for Unix viruses at this point
  1344. in time.  Although it is possible to write Unix-based viruses we have
  1345. yet to see any instance of a non-experimental virus in that environment.
  1346. Someone with sufficient knowledge and access to write an effective virus
  1347. would be more likely to conduct other activities than virus-writing.
  1348. Furthermore, the typical form of software sharing in the Unix
  1349. environment does not support virus spread as easily as some others.
  1350.  
  1351. This answer is not meant to imply that Unix viruses are impossible, or
  1352. that there aren't security problems in a typical Unix environment--there
  1353. are, and Fred Cohen's first experimental virus was implemented and
  1354. tested on a Unix system.  True viruses in the Unix environment are,
  1355. however, unlikely to spread well.  For more information on Unix
  1356. security, see the book "Practical Unix Security" by Garfinkel and
  1357. Spafford, O'Reilly & Associates, 1991, price $29.95 (it can be ordered
  1358. via e-mail from nuts@ora.com).
  1359.  
  1360. There *are* special cases in which scanning Unix systems for non-Unix
  1361. viruses does make sense.  For example, a Unix system acting as a file
  1362. server (e.g., PC-NFS) for PC systems is quite capable of containing PC
  1363. file infecting viruses that are a danger to PC clients.  Note that, in
  1364. this example, the Unix system would be scanned for PC viruses, not Unix
  1365. viruses.  Also, *any* PC is vulnerable to PC MBR infectors, so special
  1366. care should be taken to prevent booting a PC hosted Unix OS from a
  1367. floppy infected with an MBR virus (see C12).
  1368.  
  1369. In addition, a file integrity checker (to detect unauthorized changes in
  1370. executable files) on Unix systems is a very good idea.  (One free
  1371. program that can do this test, as well as other tests, is Tripwire,
  1372. available by anonymous FTP from its "home" site of coast.cs.purdue.edu
  1373. in /pub/COAST/Tripwire, and from several other antivirus sites.)
  1374. Unauthorized file changes on Unix systems are very common, although they
  1375. are not usually due to virus activity.
  1376.  
  1377.  
  1378. C8)  Why does my scanner report an infection only sometimes?
  1379.  
  1380. There are circumstances where part of a virus exists in RAM without
  1381. being active.  If your scanner occasionally reports a virus in memory,
  1382. it could be due to the operating system buffering diskette reads or
  1383. harmlessly keeping disk contents that include a virus in memory, or
  1384. after running another scanner, there may be scan strings left (again
  1385. harmlessly) in memory.  These are known as GHOST POSITIVE alerts (see C5
  1386. for more details).
  1387.  
  1388.  
  1389. C9)  I think I have detected a new virus; what do I do?
  1390.  
  1391. Whenever there is doubt over a virus, you should obtain the latest
  1392. versions of several (not just one) major virus scanners.  Some scanning
  1393. programs now use "heuristic" methods (F-PROT and TBSCAN are examples),
  1394. and "activity monitoring" programs can report a program as being
  1395. possibly infected when it is in fact perfectly safe (odd, perhaps, but
  1396. not infected).  If no scanner finds a virus, but a heuristic program
  1397. raises some alarms (or there are other reasons to suspect a virus--e.g.
  1398. change in size of files, change in memory allocation) then it is
  1399. possible that you have found a new virus, although the chances are
  1400. probably greater that it is an "odd but okay" disk or file.  Start by
  1401. looking in recent Virus-L/comp.virus postings for "known" false
  1402. positives, then contact the author of the antivirus software that
  1403. reports the virus-like features; the documentation for the software may
  1404. have a section explaining what to do if you think you have found a new
  1405. virus.
  1406.  
  1407.  
  1408. C10) CHKDSK reports 639K (or less) total memory on my DOS system; am I
  1409.      infected?
  1410.  
  1411. If CHKDSK displays 639KB (654,336 bytes) for the total memory instead of
  1412. 640K (655,360 bytes)--so that you are missing only 1KB-- it is possibly
  1413. due to reasons other than a virus, but there are a few common viruses
  1414. that take only 1KB from total memory (Monkey and AntiEXE).  Non-virus
  1415. reasons for a deficiency of 1KB include:
  1416.  
  1417. 1.   A PS/2 computer.  IBM PS/2 computers reserve 1KB of
  1418.      conventional RAM for an Extended BIOS Data Area, i.e. for
  1419.      additional data storage required by its BIOS.
  1420. 2.   A computer with a BIOS, which is set to use the upper 1KB of
  1421.      memory for its internal variables.  (Most BIOSes with this
  1422.      option can be instructed to use lower memory instead.)
  1423. 3.   Some SCSI controllers.
  1424. 4.   The DiskSecure antivirus program.
  1425. 5.   Mouse buffers for older Compaqs.
  1426.  
  1427. If you are missing 2KB or more from the 640KB, 512KB, or whatever the
  1428. conventional memory normally is for your PC, the chances are greater
  1429. that you have a boot-record virus (e.g. Stoned, Form or Michelangelo),
  1430. although, even in this case there may be legitimate reasons for the
  1431. missing memory:
  1432.  
  1433. 1.   Many access control programs for preventing booting from a
  1434.      floppy.
  1435. 2.   H/P Vectra computers.
  1436. 3.   Some special BIOS'es which use memory for a built-in calendar
  1437.      and/or calculator.
  1438.  
  1439. However, these are only rough guides.  In order to be more certain
  1440. whether the missing memory is due to a virus, you should:
  1441.  
  1442. 1.   run several virus detectors;
  1443. 2.   look for a change in total memory every now and then;
  1444. 3.   compare the total memory size with that obtained when cold
  1445.      booting from a "clean" system diskette.  The latter should
  1446.      show the normal amount of total memory for your configuration
  1447.      (although several BIOSes now steal 1KB of conventional memory
  1448.      when booted from floppy but none when booting from a hard
  1449.      drive).
  1450.  
  1451. Note:  In all cases, CHKDSK should be run without software such as MS-
  1452. Windows or DesqView loaded, since these operating environments seem to
  1453. be able to open DOS boxes only on 1KB boundaries (some seem to be even
  1454. coarser); thus CHKDSK run from a DOS box may report unrepresentative
  1455. values.
  1456.  
  1457. Note also that some machines have only 512KB or 256KB instead of 640KB
  1458. of conventional memory.
  1459.  
  1460.  
  1461. C11) I have an infinite loop of sub-directories on my hard drive; am I
  1462.      infected?
  1463.  
  1464. Probably not.  This happens now and then, when something sets the
  1465. "cluster number" field of a subdirectory to the same cluster as an upper-
  1466. level (usually the root) directory.  On PCs the /F parameter of CHKDSK
  1467. should be able to "fix" this (as should many other popular disk-repair
  1468. programs), usually by removing the offending directory.  *Don't* erase
  1469. any of the "replicated" files in the "odd" directory, since that will
  1470. erase the "copy" in the root as well (these are not really copies at
  1471. all; just a second pointers to the same files).
  1472.  
  1473.  
  1474. C12) Can a PC not running DOS be infected with a common DOS virus?
  1475.  
  1476. Yes!  There are three distinct possibilities here.
  1477.  
  1478. One is Novell's NetWare (and possibly other network operating systems),
  1479. which boots from a DOS disk and loads a "standard" DOS executable that
  1480. takes complete control of the system from DOS.  This executable--
  1481. SERVER.EXE--could easily be infected by a DOS file infector.  For
  1482. example, a server's NetWare boot diskette may have to be taken from the
  1483. server to a DOS PC to edit some of the configuration and startup files
  1484. that have to be on that diskette.  If the PC where the editing is done
  1485. is infected with a file infecting virus, SERVER.EXE may well be infected
  1486. when the new startup files are saved to the diskette.  Such infections
  1487. are virtually guaranteed to render SERVER.EXE inoperative and the server
  1488. would fail at its next restart.  No viruses are known to target the
  1489. NetWare kernel specifically.
  1490.  
  1491. Another possibility is the case of a 386 (or better) system running
  1492. NetWare or a self-loading OS, such as Unix, NeXTStep486, Windows NT or
  1493. OS/2, since this system is still vulnerable to infection by MBR
  1494. infectors (such as Stoned or Michelangelo), as these are operating
  1495. system independent.  Note that an infection on such a system may result
  1496. in the disabling of non-DOS disk partitions (possibly beyond easy
  1497. recovery) because the tricks and system conventions these viruses employ
  1498. may not apply to operating systems other than DOS.  The issue here is
  1499. that MBR infectors are not really "DOS viruses" so much as "PC-BIOS
  1500. viruses"--they can infect any machine with a PC-compatible BIOS.
  1501.  
  1502. Third, *any* OS that offers a "DOS box" or "DOS emulator" to run DOS
  1503. programs can, potentially, run a virus-infected DOS program.  Such
  1504. activation of a virus should allow the virus to spread to any "targets"
  1505. available to it under that DOS emulator.  For example, a DOS program
  1506. infected with a multipartite virus, when run under OS/2 would probably
  1507. be able to infect other DOS executables, but not the MBR/DBS, as OS/2
  1508. only allows programs to read these critical areas of the hard drive (see
  1509. E12 for more details on DOS viruses running under OS/2).  With the
  1510. increasing sophistication and power of computing environments, DOS
  1511. emulators running on non-PC computers are increasingly available and
  1512. able to run DOS viruses.
  1513.  
  1514.  
  1515. C13) My hard-disk's file system has been garbled:  Do I have a virus?
  1516.  
  1517. Many things apart from viruses cause corruption of file systems.
  1518.  
  1519. With DOS machines possibly the most common is Microsoft's SmartDrive
  1520. disk cache program that came with Microsoft Windows 3.1 and subsequent
  1521. versions of MS-DOS.  Most versions of this software not only cache disk-
  1522. reads but, by default, also cache disk-writes.  This means that recently
  1523. "written" files (say from saving a document in your word processor) may
  1524. not have all the information about the associated file system updates
  1525. written to disk by the time you exit the application, close Windows and
  1526. turn off your PC.  Users who simply save work then turn their PC off are
  1527. even more likely to suffer from disk caching induced problems like this.
  1528.  
  1529. Regardless of what caused your file-system corruption, you should
  1530. probably seek expert help *before* trying to fix anything yourself.
  1531. While there are many powerful and interesting-sounding utilities of the
  1532. "disk fix" kind available, *all* of these have the stunning ability to
  1533. render your file system all but unfixable (or at least, fixable to a
  1534. much lesser degree) when presented with unusual situations their authors
  1535. hadn't considered when designing the programs.  Unfortunately, as these
  1536. programs (by definition) do not recognize these situations, they
  1537. confidently pronounce that you have such-and-such a problem then ask
  1538. your permission to fix it.  Even when these utilities have "undo"
  1539. options, they often cannot restore your file system to its originally
  1540. "broken" state to give human experts their best shot at fixing it.
  1541. Thus, detecting whether it is safe to let one of these programs loose on
  1542. your disks is something you should normally seek expert help in
  1543. deciding.
  1544.  
  1545.  
  1546.  
  1547. =================================
  1548. = Section D.   Protection plans =
  1549. =================================
  1550.  
  1551. D1)  What is the best antivirus program?
  1552.  
  1553. None!  Different products are more or less appropriate in different
  1554. situations, but in general you should build a cost-effective *strategy*
  1555. based on multiple layers of defense.  There are three main kinds of
  1556. antivirus software, plus several other means of protection, such as
  1557. hardware write-protect methods (see D4).  When planning your antivirus
  1558. strategy you should also look closely at your backup policies and
  1559. procedures (see 10).
  1560.  
  1561. 1.   ACTIVITY MONITORING programs.  These try to prevent infection
  1562.      before it happens by looking for virus-like activity, such as
  1563.      attempts to write to another executable, reformat the disk,
  1564.      etc.  An alternative term is BEHAVIOR BLOCKER.
  1565.  
  1566.      Examples: SECURE and FluShot+ (PC), and GateKeeper
  1567.      (Macintosh).
  1568.  
  1569.      These programs are considered the weakest line of defense
  1570.      against viruses on a system that does not have memory
  1571.      protection, because in such an environment it is possible for
  1572.      a tunnelling virus (see B12) to bypass or disable them.
  1573.  
  1574. 2.   SCANNERS.  Most look for known viruses by searching your
  1575.      disks and files for "scan strings" or patterns, but a few use
  1576.      heuristic techniques to recognize viral code.  Most now also
  1577.      include some form of "algorithmic scanning" in order to
  1578.      detect known polymorphic viruses.  A scanner may be designed
  1579.      to examine specified disks or files on demand, or it may be
  1580.      resident, examining each program which is about to be
  1581.      executed.  Most scanners also include virus removers.
  1582.  
  1583.      Examples:  FindViru in Dr Solomon's AntiVirus ToolKit, Frisk
  1584.      Software's F-PROT, McAfee's VirusScan (all PC), Disinfectant
  1585.      (Macintosh).
  1586.  
  1587.      Resident scanners:  McAfee's V-Shield, and F-PROT's VIRSTOP.
  1588.  
  1589.      Heuristic scanners:  the Analyse option in F-PROT, TBAV's
  1590.      TbScan and ChkBoot (from Padgett Peterson's FixUtils).
  1591.  
  1592.      Scanners are the most convenient and the most widely used
  1593.      kind of antivirus programs. They are a relatively weak line
  1594.      of defense because even the simplest virus can bypass them if
  1595.      it is new and unknown to the scanner.  Therefore, your virus
  1596.      protection system should not rely on a scanner alone.
  1597.  
  1598. 3.   INTEGRITY CHECKERS or MODIFICATION DETECTORS.  These compute
  1599.      a small "checksum" or "hash value" (usually CRC or
  1600.      cryptographic) for files when they are presumably uninfected,
  1601.      and later compare newly calculated values with the original
  1602.      ones to see if the files have been modified.  This catches
  1603.      unknown viruses as well as known ones and thus provides
  1604.      *generic* detection.  On the other hand, modifications can
  1605.      also be due to reasons other than viruses.  Usually, it is up
  1606.      to the user to decide which modifications are intentional and
  1607.      which might be due to viruses, although a few products give
  1608.      the user help in making this decision.  As in the case of
  1609.      scanners, integrity checkers may be called to checksum entire
  1610.      disks or specified files on demand, or they may be resident,
  1611.      checking each program which is about to be executed (the
  1612.      latter is sometimes called an INTEGRITY SHELL).  A third
  1613.      implementation is as a SELF-TEST, where the checksumming code
  1614.      is attached to each executable file so they check themselves
  1615.      just before execution.  It is generally considered a bad idea
  1616.      to add such code to existing executables (see F8).
  1617.  
  1618.      Examples: ASP Integrity Toolkit (commercial), and Integrity
  1619.      Master and VDS (shareware), all for the PC.
  1620.  
  1621.      Integrity checkers are considered to be the strongest line of
  1622.      defense against computer viruses, because they are not virus-
  1623.      specific and can detect new viruses without being constantly
  1624.      updated.  However, they should not be considered as an
  1625.      absolute protection--they have several drawbacks, cannot
  1626.      identify the particular virus that has attacked the system,
  1627.      and there are successful methods of attack against them too.
  1628.  
  1629. 3a.  Some modification detectors provide HEURISTIC DISINFECTION.
  1630.      Sufficient information is saved for each file so that it can
  1631.      be restored to its original state in the case of the great
  1632.      majority of viral infections, even if the virus is unknown.
  1633.  
  1634.      Examples: V-Analyst 3 (BRM Technologies, Israel), the VGUARD
  1635.      module of V-Care and ThunderByte's TbClean.
  1636.  
  1637. Note that behavior blockers and scanners are virus *prevention* tools,
  1638. while integrity checkers are virus *detection* tools.
  1639.  
  1640. Of course, only a few examples of each type have been given.  All of
  1641. these types of antivirus program have a place in protecting against
  1642. computer viruses, but you should appreciate the limitations of each
  1643. method, along with system-supplied security measures that may or may not
  1644. be helpful in defeating viruses.  Ideally, you should arrange a
  1645. combination of methods that cover each others' weaknesses.
  1646.  
  1647. A typical PC installation might include a protection system on the hard
  1648. disk's MBR to protect against viruses at load time (ideally this would
  1649. be hardware or in BIOS, but software methods such as DiskSecure and
  1650. Henrik Stroem's HS are pretty good).  This would be followed by resident
  1651. virus detectors loaded as part of the machine's startup (CONFIG.SYS or
  1652. AUTOEXEC.BAT), such as FluShot+ and/or VirStop and/or ChkBoot.  A
  1653. scanner such as F-PROT or McAfee's VirusScan and an integrity checker,
  1654. such as Integrity Master, could be put into AUTOEXEC.BAT, but this may
  1655. be a problem if you have a large disk to check, or don't reboot often
  1656. enough.  Most importantly, new files and diskettes should be scanned as
  1657. they arrive *regardless* of their source.  If your system has DR DOS
  1658. installed, you should use the PASSWORD command to write-protect all
  1659. system executables and utilities.  If you have Stacker or SuperStor, you
  1660. can get some improved security from these compressed drives, but also a
  1661. risk that those viruses stupid enough to directly write to the disk
  1662. could do much more damage than normal.  In this case a software write-
  1663. protect system (such as provided with Disk Manager or The Norton
  1664. Utilities) may help.  Possibly the best solution is to put all
  1665. executables on a disk of their own, with a hardware write-protect system
  1666. that sounds an alarm if a write is attempted.
  1667.  
  1668. If you do use a resident BSI detector or a scan-while-you-copy detector,
  1669. it is important to trace back any infected diskette to its source.  The
  1670. reason viruses survive so well is that usually you cannot do this,
  1671. because the infection is found long after the infecting diskette has
  1672. been forgotten due to most people's lax scanning policies.
  1673.  
  1674. Organizations should devise and implement a careful policy that may
  1675. include a system of vetting new software brought into the building and
  1676. free virus detectors for home machines of employees/students/etc who
  1677. take work home with them.
  1678.  
  1679. Other antivirus techniques include:
  1680.  
  1681. 1.   Creation of a special MBR to make the hard disk inaccessible
  1682.      when booting from a diskette (the latter is useful since
  1683.      booting from a diskette will normally bypass any protection
  1684.      measures loaded in the CONFIG.SYS and/or AUTOEXEC.BAT files
  1685.      on the hard disk).
  1686.  
  1687.      Some of these systems won't prevent attack by some MBR virus
  1688.      infections if booting from an infected floppy.  This approach
  1689.      is less important now, as most newer PCs allow you to change
  1690.      the boot order so the first hard drive is tried *before* any
  1691.      of the floppy drives.
  1692.  
  1693. 2.   Use of Artificial Intelligence to learn about new viruses and
  1694.      extract scan patterns for them.
  1695.  
  1696.      Examples: V-Care (CSA Interprint, Israel; distributed in the
  1697.      US by Sela Consultants Corp.), Victor Charlie (Bangkok
  1698.      Security Associates, Thailand; distributed in the US by
  1699.      Computer Security Associates).
  1700.  
  1701. 3.   Encryption of files (with decryption before execution).
  1702.  
  1703. 4.   Diskette "fences".  There are three different approaches to
  1704.      this.  One prevents executables from being accessed from
  1705.      floppy drives while another prohibits the use of unscanned
  1706.      (possibly "unclean") files or diskettes.  A third method uses
  1707.      a non-standard diskette format so diskettes can only be used
  1708.      on (and therefore shared among) machines using the
  1709.      appropriate antivirus software (usually all those within a
  1710.      site or company).  This last method is probably the most
  1711.      common diskette fence and provides better protection against
  1712.      boot sector viruses than the other "fence" types.
  1713.  
  1714.      The workings of the first and third are probably fairly clear
  1715.      from these brief descriptions.  The second approach works by
  1716.      writing special information to normally unused areas of the
  1717.      diskette as part of the scanning process and employing a
  1718.      driver in the users' machines prevents access to files that
  1719.      aren't marked as scanned (or to any part of a diskette that
  1720.      contains unscanned files).  Alternatives include encrypting
  1721.      scanned files and drivers that only allow access to encrypted
  1722.      files, and so on.  One advantage of this second type of
  1723.      system is that you only need scanners for "perimeter
  1724.      checking" machines, reducing the overhead and cost of keeping
  1725.      your scanners up to date.
  1726.  
  1727.      Examples: D-Fence, Virus Fence, TbFence, DiskNet.
  1728.  
  1729.  
  1730. D2)  Is it possible to protect a computer system with only software?
  1731.  
  1732. Not perfectly; although software defenses can significantly reduce your
  1733. risk of being affected by viruses *when applied appropriately*.  All
  1734. virus defense systems are tools--each with its own capabilities and
  1735. shortcomings.  Learn how your system works and be sure to work within
  1736. its limitations.
  1737.  
  1738. Using a layered approach, a very high level of protection/detection can
  1739. be achieved with software only.
  1740.  
  1741. 1.   ROM BIOS--password (access control) and selecting to boot
  1742.      from the hard drive rather than from diskette.  (Some may
  1743.      consider this hardware.)
  1744. 2.   Boot sectors--integrity management and change detection.
  1745. 3.   OS programs--integrity management of existing programs,
  1746.      scanning of unknown programs.  Requirement of authentication
  1747.      values for any new or transmitted software.
  1748. 4.   Locks that prevent writing to a fixed or floppy disk.
  1749.  
  1750. As each layer is added, undetected invasion becomes more difficult.
  1751. Nevertheless, complete protection against any possible attack cannot be
  1752. provided without dedicating the computer to pre-existing or unique
  1753. tasks.  International standardization on the IBM PC architecture is both
  1754. its greatest asset and its greatest vulnerability.
  1755.  
  1756.  
  1757. D3)  Is it possible to write-protect the hard disk with software only?
  1758.  
  1759. The answer is no.  There are several programs that claim to do this, but
  1760. *all* of them can be bypassed with techniques already used by some
  1761. viruses.  Therefore you should never rely on such programs *alone*,
  1762. although they can be useful in combination with other antivirus
  1763. measures.
  1764.  
  1765.  
  1766. D4)  What can be done with hardware protection?
  1767.  
  1768. Hardware protection can accomplish various things, including: write
  1769. protection for hard disk drives, memory protection, monitoring and
  1770. trapping unauthorized system calls, etc.  Again, no single tool will be
  1771. foolproof and the "stronger" hardware-based protection is, the more
  1772. likely it will interfere with the "normal" operation of your computer.
  1773.  
  1774. The popular idea of write-protection (see D3) may stop viruses
  1775. *spreading* to the disk that is protected, but doesn't, in itself,
  1776. prevent a virus from *running*.
  1777.  
  1778. Also, some existing hardware protection schemes can be easily bypassed,
  1779. fooled, or disconnected, if the virus writer knows them well and designs
  1780. a virus that is aware of the particular defense.
  1781.  
  1782. The big problem with hardware protection is that there are few (if any)
  1783. operations that a general-purpose computer can perform that are used by
  1784. viruses *only*.  Therefore, making a hardware protection system for such
  1785. a computer typically involves deciding on some (small) set of operations
  1786. that are "valid but not normally performed except by viruses", and
  1787. designing the system to prevent these operations.  Unfortunately, this
  1788. means either designing limitations into the level of protection the
  1789. hardware system provides or adding limitations to the computer's
  1790. functionality by installing the hardware protection system.  Much can be
  1791. achieved, however, by making the hardware "smarter".  This is double-
  1792. edged: while it provides more security, it usually means adding a
  1793. program in an EPROM to control it.  This allows a virus to locate the
  1794. program and to call it directly after the point that allows access.  It
  1795. is still possible to implement this correctly though--if this program is
  1796. not in the address space of the main CPU, has its own CPU and is
  1797. connected directly to the hard disk and the keyboard.  As an example,
  1798. there is a PC-based product called ExVira which does this and seems
  1799. fairly secure, but it is a whole computer on an add-on board and is
  1800. quite expensive.
  1801.  
  1802.  
  1803. D5)  Does setting a file's attributes to READ ONLY protect it from
  1804.      viruses?
  1805.  
  1806. Generally, no.  While the Read Only attribute will protect your files
  1807. from a few viruses, most simply override it, and infect normally.  So,
  1808. while setting executable files to Read Only a good idea (it protects
  1809. against accidental deletion), it is certainly not a thorough protection
  1810. against viruses!
  1811.  
  1812. In some environments the Read Only attribute does provide some
  1813. additional protection.  For instance, under Novell Netware a user can be
  1814. denied the right to modify file attributes in directories on the server.
  1815. This means that a virus that infects such a user's machine will be
  1816. unable to infect files in those server directories if the files have
  1817. their Read Only attribute set.
  1818.  
  1819.  
  1820. D6)  Do password/access control systems protect my files from viruses?
  1821.  
  1822. All password and other access control systems are designed to protect
  1823. the user's data from other users and/or their programs.  Remember,
  1824. however, that when you execute an infected program the virus in it will
  1825. gain your current rights/privileges.  Therefore, if the access control
  1826. system provides *you* the right to modify some files, it will provide it
  1827. to the virus too.  Note that this does not depend on the operating
  1828. system used--DOS, Unix, or whatever.  Therefore, an access control
  1829. system will protect your files from viruses no better than it protects
  1830. them from you.
  1831.  
  1832. Under DOS, there is no memory protection, so a virus could disable the
  1833. access control system in memory, or even patch the operating system
  1834. itself.  On more advanced operating systems (Unix, OS/2, Windows NT)
  1835. this is much harder or impossible, so there is much less risk that such
  1836. protection measures could be disabled by a virus.  Even so, viruses will
  1837. still be able to spread, for the reasons noted above.  In general,
  1838. access control systems (if implemented correctly) are only able to slow
  1839. down virus spread, not to eliminate viruses entirely.
  1840.  
  1841. Of course, it's better to have access control than not to have it at
  1842. all.  Just be sure to not develop a false sense of security or come to
  1843. rely *entirely* on your access control system to protect you.
  1844.  
  1845.  
  1846. D7)  Do the protection systems in DR DOS work against viruses?
  1847.  
  1848. Partially.  Neither the password file/directory protection available
  1849. from DR DOS version 5 onwards, nor the secure disk partitions from DR
  1850. DOS 6 were intended to combat viruses, but they do so to some extent.
  1851. If you have DR DOS, it is very wise to password-protect your files (to
  1852. stop accidental damage too), but don't depend on it as your only means
  1853. of defense.
  1854.  
  1855. The use of the password command (e.g. PASSWORD/W:MINE *.EXE *.COM) will
  1856. stop more viruses than the plain DOS attribute facility (see D5), but
  1857. that isn't saying much!  The combination of the password system plus a
  1858. disk compression system may be more secure, because to bypass the
  1859. password system a virus must access the disk directly, but under
  1860. SuperStor or Stacker the physical disk will be meaningless to a virus.
  1861. There may be some viruses that, rather than invisibly infecting files on
  1862. compressed disks, very visibly corrupt such disks.
  1863.  
  1864. The main use of the "secure disk partitions" system, introduced in
  1865. DR DOS 6, is to stop people from fiddling with your hard disk while you
  1866. are away from the PC. The way this is implemented, however, may also
  1867. help against a few viruses that look for DOS partitions on a disk.
  1868.  
  1869. Furthermore, DR DOS is not fully compatible with MS/PC-DOS, especially
  1870. when you get down to the low-level tricks that some viruses use.  For
  1871. instance, some internal memory structures are "read-only" in the sense
  1872. that they are constantly updated (for MS/PC-DOS compatibility) but not
  1873. really used by DR DOS, so even if a sophisticated virus modifies them,
  1874. it will not have any effect, or at least not that intended by the
  1875. virus's author.
  1876.  
  1877. In general, using a less compatible system diminishes the number of
  1878. existing viruses that can infect it.  For instance, the introduction of
  1879. hard disks made the Brain virus almost disappear; the introduction of
  1880. the 80286 and DOS 4.0+ made the Yale and Ping Pong viruses next to
  1881. extinct, and so on.
  1882.  
  1883.  
  1884. D8)  Does a write-protect tab on a floppy disk stop viruses?
  1885.  
  1886. In general, yes.  The write-protection on IBM PC (and compatible) and
  1887. Macintosh floppy disk drives is implemented in hardware, not software,
  1888. so viruses cannot infect a diskette when the write-protection mechanism
  1889. is functioning properly (though many "friend of a friend" stories abound
  1890. contesting this).
  1891.  
  1892. But remember:
  1893.  
  1894. 1.   A computer may have a faulty write-protect system (this
  1895.      happens!)--you can test it by trying to copy a file to a
  1896.      diskette that is apparently write-protected.
  1897. 2.   Someone may have removed the tab for a while, allowing a
  1898.      virus on.
  1899. 3.   The files may have been infected before the disk was
  1900.      protected.  Even some diskettes "straight from the factory"
  1901.      have been known to be infected during the production process.
  1902.  
  1903. Thus, you should scan even new, write-protected disks for viruses.  You
  1904. should also scan new, pre-formatted diskettes, as there have been cases
  1905. of infected, shrink-wrapped new diskettes.
  1906.  
  1907.  
  1908. D9)  Do local area networks (LANs) help to stop viruses or do they
  1909.      facilitate their spread?
  1910.  
  1911. Both.  A set of computers connected in a well managed LAN, with
  1912. carefully established security settings, with minimal privileges for
  1913. each user, and without a transitive path of information flow between the
  1914. users (i.e., the objects writable by any of the users are not readable
  1915. by any of the others) is more virus-resistant than the same set of
  1916. computers if they are not interconnected.  The reason is that when all
  1917. computers have (read-only) access to a common pool of executable
  1918. programs, there is usually less need for diskette swapping and software
  1919. exchange between them, and therefore less chances for a virus to spread.
  1920.  
  1921. However, if the LAN has lax security and is not well managed, it could
  1922. help a virus to spread like wildfire.  It might even be impossible to
  1923. remove the infection without shutting down the entire LAN.  Stories of
  1924. LAN login programs, shared copies of which are run on every workstation,
  1925. becoming infected are, unfortunately, not uncommon.
  1926.  
  1927. A network that supports login scripting is inherently more resistant to
  1928. viruses than one that does not *if* this is used to validate the client
  1929. before allowing access to the network.
  1930.  
  1931.  
  1932. D10) What is the proper way to make backups?
  1933.  
  1934. A good backup regime is at the heart of any comprehensive virus defense
  1935. scheme.  No matter what combination of software and hardware defenses
  1936. you install, nor what "policy" you implement, there is always the
  1937. possibility that some new virus will be devised that can beat your
  1938. defenses *or* that someone will fail to follow "proper protocol" with
  1939. "foreign" media or file sources.  In corporate settings, the possibility
  1940. of the latter as a form of directed attack by disgruntled employees
  1941. cannot be overlooked.
  1942.  
  1943. Planning to minimize the impact of a virus infection on your computing
  1944. is much like planning to minimize the effect of an earthquake or fire.
  1945. You cannot be sure where, when or even *if* you will ever be "hit"; the
  1946. potential impact could fall anywhere in a very wide range of possible
  1947. damage; being "completely safe" can involve enormous expense; and you
  1948. cannot adequately test your preparations without exposing yourself to
  1949. serious risk of damage.  Therefore, finalizing on the defense scheme
  1950. that suits you involves deciding on the level of loss you can afford to
  1951. stand and probably settling on a system that, while not "perfectly
  1952. watertight," is "good enough".
  1953.  
  1954. Despite the importance of a good backup scheme, it is really beyond the
  1955. scope of this FAQ sheet to provide a definitive guide to planning your
  1956. backup procedure--that could easily take another document the size of
  1957. this!  All this said however, we provide the following advice as, we
  1958. hope, a good starting point.
  1959.  
  1960. Planning an effective backup scheme really starts with answering some
  1961. important questions.  Consider:
  1962.  
  1963. 1.   Who is dependent on the files on this system?  Is it a home
  1964.      computer mostly used by the kids for games, a standalone
  1965.      workstation running a small business, a networked workstation
  1966.      in a medium-sized company or the same in a large corporate
  1967.      environment, or a server with many (hundreds) of users?
  1968. 2.   How long can the most important user be without access to
  1969.      these files?  One hour, 2, 4, 8, a day, a week?  Remember to
  1970.      assume that your problems will arise at the worst possible
  1971.      moment (like 24 hours before a tax audit is due to start!).
  1972. 3.   What proportion (and volume!) of files are "fixed" (in the
  1973.      sense that they seldom change) versus those that change?  Do
  1974.      all changes have to be backed-up, or is a "once-some-given-
  1975.      time-period" backup acceptable?
  1976. 4.   What type of information is in the regularly changing files?
  1977.  
  1978. The answers to these (and other) questions help shape backup and
  1979. recovery plans and are fairly well understood issues amongst computer
  1980. systems professionals.  Highly critical systems containing crucial data
  1981. will be designed from the outset to have high redundancy (disk
  1982. mirroring, disk arrays, UPSes, maybe even redundant servers), though
  1983. such system options *alone* provide no real protection from virus
  1984. attacks.  You may opt for a backup system that records every change to
  1985. any files on your system (server-only or clients and servers) or regular
  1986. (often nightly) backup of changed data files, and so on.
  1987.  
  1988. When it comes to planning backup regimes with an eye to the possibility
  1989. of recovering from a virus attack, you also have to consider that
  1990. regularly backing-up executables (loosely, "programs") can cause
  1991. problems.  If you do and are infected by a virus, unless you can be
  1992. *absolutely sure* of the date of first infection (despite sounding
  1993. simple, this is not something that can commonly be done!), you may have
  1994. quite a few problems finding the best backup set to restore from, as you
  1995. will probably have several sets including infected executables.
  1996.  
  1997. For home or small business use, it may be best to maintain two kinds of
  1998. backups.  One would contain only your data files and one your operating
  1999. system and program files (issues to consider are covered in the next two
  2000. paragraphs).  This may be facilitated by maintaining a strict separation
  2001. of the two kinds of files, perhaps by putting the operating system and
  2002. programs on one drive or partition and your data files on another.
  2003. While this is probably not practical for many existing machines,
  2004. enforcing adherence to the "rule" that data files should only be placed
  2005. in appropriate sub-directories (folders) within a prescribed data
  2006. directory may not be a bad thing.
  2007.  
  2008. The best way to manage backup of data files depends on the answers to
  2009. too many of the questions listed above for us to give definitive advice
  2010. here.  While planning your backup regime, bear in mind that some viruses
  2011. damage some kinds of data files, while others make small, occasional,
  2012. random modifications as files are written to disk.  While viruses with
  2013. either of these "features" are quite rare, both of these possibilities
  2014. mean that vital data files should probably be backed-up to long-cycle
  2015. media sets as well as to shorter cycle sets and other steps taken to
  2016. ensure you can recreate the sequence of changes.  (For example, retain
  2017. all transaction records so they can be re-entered.)
  2018.  
  2019. You should probably backup executables once after installing them and
  2020. only *after* you are sure they are virus-free according to your current
  2021. antivirus screening procedures.  *Never* make a backup containing
  2022. executables over media that hold *any* of your current backups.  The
  2023. more cautious of us maintain several cycles of executable backups.
  2024. These precautions should ensure you don't face the problem outlined
  2025. several paragraphs ago, and mean that should a newly installed program
  2026. be infected with a virus your current defenses don't detect, you can
  2027. easily restore your system and installed software to how it was before
  2028. the infected software was installed, when you do become aware of its
  2029. presence.  You will probably have to manually reinstall any programs you
  2030. installed subsequent to installing the infected program.
  2031.  
  2032. Having referred to this second kind of backup as "executables only", we
  2033. should point out that a complete system backup is also acceptable for
  2034. this type of backup.  However, note that a sequence of full system
  2035. backups with interim "incremental" backups (when only those files that
  2036. have changed since the last complete backup are saved) is *not* what we
  2037. are advocating.  Such systems tend to be too "broad brush" to be truly
  2038. useful for recovering from an unknown, future virus attack.
  2039. Unfortunately, this tends to be the preferred/recommended backup scheme
  2040. for small-to-medium sized systems (including most personal computers),
  2041. and is typically what most popular backup software for such systems is
  2042. designed to do.  This doesn't mean that popular backup systems and
  2043. software aren't useful, just that you have to exercise some care in
  2044. using them (like excluding executable files from your incremental
  2045. backups).
  2046.  
  2047. Having said all this, there are still a few other problems to consider,
  2048. especially:  Which files should you count as "data" files?  This can be
  2049. problematic as most people immediately think of their word-processor and
  2050. spreadsheet files, and the like, as data, and that's about it.  What
  2051. about the files in which your programs store their configuration
  2052. information?  In a sense, these are as much "your data" as they are
  2053. program files, because they reflect your preferred screen colors and
  2054. layouts, default fonts, personalized button bars and so on.  When you
  2055. look at the time people spend finding the (often obscure) options
  2056. settings in their programs and making them work "just right", and how
  2057. upset they can be if they lose these settings, it makes sense to treat
  2058. such configuration files as you treat other "personal data files" in
  2059. your backup regimes.  Similarly, people tend to treat system
  2060. configuration files (in DOS/Windows PCs CONFIG.SYS, AUTOEXEC.BAT,
  2061. WIN.INI, SYSTEM.INI at a minimum!) as part of the system, often ignoring
  2062. the (sometimes considerable) fine-tuning these configuration files go
  2063. through *between* system and executable backups.
  2064.  
  2065. One last point--it cannot be stressed enough that you *MUST* have a
  2066. full, working copy of the software you need to restore your backups in a
  2067. safe place.  You must be able to guarantee that this software is not
  2068. virus infected should you ever have to use it, *AND* that it is fully
  2069. usable should you be facing a machine that has had its entire hard drive
  2070. "wiped clean".
  2071.  
  2072.  
  2073.  
  2074. ======================================================
  2075. = Section E.   Facts and Fibs About Computer Viruses =
  2076. ======================================================
  2077.  
  2078. E1)  Can boot sector viruses infect non-bootable DOS floppy disks?
  2079.  
  2080. Any DOS diskette that has been properly formatted contains some
  2081. executable code in its boot sector.  (There is some debate as to whether
  2082. this code should be called a program or not.  The important thing here
  2083. is that this code is *executed* at system startup if the diskette is in
  2084. the system's boot drive.)  If a diskette is not "bootable", all that
  2085. boot sector (normally) does is print a message (on a PC, typically
  2086. something like "Non-system disk or disk error; replace and strike any
  2087. key when ready").  However, the boot sector is still executable and
  2088. therefore vulnerable to infection.  Should you accidentally boot your
  2089. machine with a "non-bootable" diskette in the boot drive, and see that
  2090. message, it means that any boot virus that may have been on that
  2091. diskette *has* run, and had the chance to infect your hard drive, or
  2092. whatever.  So, when talking about viruses, the words "bootable" and "non-
  2093. bootable" are misleading.  All formatted diskettes are capable of
  2094. carrying boot sector viruses.
  2095.  
  2096. Most current computers will try to boot from their (first) floppy drive
  2097. before trying to load an operating system off their hard disks.  Because
  2098. of this and the fact that every floppy disk is possibly infected with a
  2099. boot sector virus, it is a *very* good idea to set your computer to try
  2100. to boot from its hard disk.  Many newer PCs offer the option to select
  2101. boot order in their system CMOS setup routines.  If your computer has
  2102. such an option, set it to try to boot from your hard disk first.
  2103.  
  2104.  
  2105. E2)  Can a virus hide in a PC's CMOS memory?
  2106.  
  2107. No.  The CMOS RAM in which PC system information is stored and backed up
  2108. by batteries is accessible through the I/O ports and not directly
  2109. addressable.  That is, in order to read its contents you have to use I/O
  2110. instructions rather than standard memory addressing techniques.
  2111. Therefore, anything stored in CMOS is not directly "in memory".  Nothing
  2112. in a normal machine loads the data from CMOS and executes it, so a virus
  2113. that "hid" in CMOS RAM would still have to infect an executable object
  2114. of some kind in order to load and execute whatever had been written to
  2115. CMOS.  A malicious virus can of course *alter* values in the CMOS as
  2116. part of its payload, but it can't spread through, or hide itself in, the
  2117. CMOS.
  2118.  
  2119. Further, most PCs have only 64 bytes of CMOS RAM and the use of the
  2120. first 48 bytes of this is predetermined by the IBM AT specification.
  2121. Several BIOS'es also use many of the "extra" bytes of CMOS to hold their
  2122. own, machine-specific settings.  This means that anything that a virus
  2123. stores in CMOS can't be very large.  A virus could use some of the
  2124. "surplus" CMOS RAM to hide a small part of its body (e.g. its payload,
  2125. counters, etc).  Any executable code stored there, however, must first
  2126. be extracted to ordinary memory in order to be executed.
  2127.  
  2128. This issue should not be confused with whether a virus can *modify* the
  2129. contents of a PC's CMOS RAM.  Of course viruses can, as this memory is
  2130. not specially protected (on normal PCs), so any program that knows how
  2131. to change CMOS contents can do so.  Some viruses do fiddle with the
  2132. contents of CMOS RAM (mostly with ill-intent) and these have often been
  2133. incorrectly reported as "infecting CMOS" or "hiding in CMOS".  An
  2134. example is the PC boot sector virus EXE_Bug, which changes CMOS settings
  2135. to indicate that no floppy drives are present (see G8 for more details).
  2136.  
  2137.  
  2138. E3)  Can a PC virus hide in Extended or in Expanded RAM in a PC?
  2139.  
  2140. Yes.  If one does though, it has to have a small part resident in
  2141. conventional RAM; it cannot reside *entirely* in Extended or in Expanded
  2142. RAM.  Currently there are no known XMS viruses and only a few EMS
  2143. viruses (Emma is an example).
  2144.  
  2145.  
  2146. E4)  Can a virus hide in a PC's Upper Memory or in High Memory Area?
  2147.  
  2148. Yes, it is possible to construct a virus which will locate itself in
  2149. Upper Memory Blocks (UMBs--640K to 1024K) or in the High Memory Area
  2150. (HMA--1024K to 1088K).  Some viruses (e.g. EDV) do hide in UMBs and at
  2151. least one, Goldbug, will use the HMA if it is available.
  2152.  
  2153. It might be thought that there is no point in scanning in these areas
  2154. for any viruses other than those that are specifically known to inhabit
  2155. them.  However, there are cases when even ordinary viruses can be found
  2156. in Upper Memory.  Suppose that a conventional memory-resident virus
  2157. infects a TSR program and this program is loaded high by the user (for
  2158. instance, from AUTOEXEC.BAT).  Then the virus code will also reside in
  2159. Upper Memory.  Therefore, an effective scanner must be able to scan this
  2160. part of memory for viruses too.
  2161.  
  2162.  
  2163. E5)  Can a virus infect data files?
  2164.  
  2165. Some viruses (e.g., Frodo, Cinderella) modify non-executable files.
  2166. However, in order to spread, the virus code must be executed.  Therefore
  2167. "infected" non-executable files cannot be sources of further infection.
  2168. Such "infections" are usually mistakes, due to bugs in the virus.
  2169.  
  2170. Even so, note that it is not always possible to make a sharp distinction
  2171. between executable and non-executable files.  One person's data can be
  2172. another's code and vice versa.  Some files that are not directly
  2173. executable contain code or data which can, under some conditions, be
  2174. executed or interpreted.
  2175.  
  2176. Some examples from the PC world are OBJ files, libraries, device
  2177. drivers, source files for any compiler or interpreter (including DOS BAT
  2178. files and OS/2 CMD files), macro files for some packages like Microsoft
  2179. Word and Lotus 1-2-3, and many others.  Currently there are viruses that
  2180. infect boot sectors, master boot records, COM files, EXE files, BAT
  2181. files, OBJ files, device drivers, Microsoft Word document and template
  2182. files, and C source code files, although any of the objects mentioned
  2183. above theoretically can be used as an infection carrier.  PostScript
  2184. files can also be used to carry a virus, although no currently known
  2185. virus does this.
  2186.  
  2187. Aside from the above, however, there is an increasing possibility of
  2188. viruses spreading through the sharing of data files.  More and more we
  2189. see the ease with which software producers give their programs the
  2190. ability to embed "objects" of many kinds into document files, and into
  2191. fields in databases and spreadsheets.  Perhaps the best-known of these
  2192. systems are Object Linking and Embedding (OLE) in MS Windows and the
  2193. OpenDoc format.  As these embedded objects often have the ability to
  2194. "display" themselves we see that many files traditionally thought of as
  2195. data-only, will increasingly be containers carrying data and executable
  2196. code.  We are not aware of any virus that specifically targets such
  2197. executable "objects", but it is now a trivial task to embed executable
  2198. files into some kinds of document files so they will be run when the
  2199. icon representing them is clicked in the finished document.  There is
  2200. nothing to prevent infected executables being embedded in this way, and
  2201. thus for viruses to be spread through the distribution of "data files".
  2202.  
  2203.  
  2204. E6)  Can viruses spread from one type of computer to another?
  2205.  
  2206. The simple answer is that no currently known viruses can do this.
  2207. Although some disk formats may be the same (e.g. Atari ST and DOS), the
  2208. different machines interpret the code differently.  For example, the
  2209. Stoned virus cannot infect an Atari ST as the ST cannot execute the
  2210. virus code in the boot sector.  The Stoned virus contains instructions
  2211. for the 80x86 family of CPUs that the 680x0 CPU family (used in the
  2212. Atari ST) can't understand or execute.
  2213.  
  2214. The more general answer is that such viruses are possible, but unlikely.
  2215. Such a virus would be quite a bit larger than current viruses and might
  2216. well be easier to find.  Additionally, the low incidence of cross-
  2217. platform sharing of software means that any such virus would be unlikely
  2218. to spread--it would be a poor environment for virus growth.
  2219.  
  2220. A related, but different, issue is that of viruses running under
  2221. operating system emulators on machines other than those for which the
  2222. operating system was originally designed.  This is covered in some
  2223. detail elsewhere in the FAQ sheet (see C12).
  2224.  
  2225.  
  2226. E7)  Are mainframe computers susceptible to computer viruses?
  2227.  
  2228. Yes.  Numerous experiments have shown that computer viruses spread very
  2229. quickly and effectively on mainframe systems.  To our knowledge,
  2230. however, no non-research computer virus has been seen on mainframe
  2231. systems.  (Despite often being described as such, the widely reported
  2232. Internet Worm of November 1988 was not a computer virus by most
  2233. definitions, although it had some virus-like characteristics.)
  2234.  
  2235. Many people think that computer viruses are impossible on mainframe
  2236. computers, because their operating systems provide means of protection
  2237. (e.g., memory protection, access control, etc.) that cannot by bypassed
  2238. by a program, unlike the operating systems of most personal computers.
  2239. Unfortunately, this belief is false.  As demonstrated by Fred Cohen in
  2240. 1984, access controls are unable to prevent computer viruses--they can
  2241. only slow down the speed with which viruses spread.  If there is a
  2242. transitive path of information flow from one account to another on a
  2243. mainframe computer, then a virus can spread from one account to the
  2244. other, without having to bypass any protections.
  2245.  
  2246. Consider the following example.  The attacker (A) has an account on a
  2247. machine and wants to attack it with a virus.  In order to do this, A
  2248. writes a virus and releases it.  Due to the protection provided by the
  2249. operating system, the virus can only infect the files writable by A.  On
  2250. a typical system, those would be only the files owned by A.
  2251.  
  2252. However, A is not alone on the system.  A works with B on some joint
  2253. projects.  At some time, B might want to check how far A has progressed
  2254. in her/his part of the project.  This might involve running one of the
  2255. programs that A has written--programs that are now all infected with A's
  2256. virus.
  2257.  
  2258. On a sytem with protection based on discretionary access controls (e.g.,
  2259. Unix, VMS, and most other popular OSes), the program that is being
  2260. executed usually runs with the privileges of the user who is executing
  2261. it--not with those of the program's owner.  (In the few instances where
  2262. this is not the case, it presents a different kind of security threat,
  2263. unrelated to viruses.)  That is, when B runs A's infected program, the
  2264. virus in it will run with B's privileges and will be able to infect all
  2265. programs writable by B.
  2266.  
  2267. At some later time, A and B's boss, C, might want to check whether they
  2268. have completed that joint project.  Even if the boss has reasons to
  2269. suspect A (e.g., as a disgruntled employee), s/he is likely to trust B
  2270. and execute one of her/his programs.  This results in the virus running
  2271. with C's privileges (which are likely to be significantly greater than
  2272. those of A and B) and infecting all programs writable by C.  Quite
  2273. possibly, these programs will include many owned by other employees,
  2274. thus creating many more distribution chains that nobody suspects.
  2275.  
  2276. The virus may interfere somehow with C's normal work, which causes C
  2277. (who is probably not very knowledgeable about such things as computer
  2278. security and viruses) to ask the system administrator, D, for help.  If
  2279. D executes one of C's infected programs (and s/he is much more likely to
  2280. trust a respectable person like C--who is quite probably D's boss as
  2281. well--than any of C's employees), this will cause the virus that A wrote
  2282. a long time ago to run with system administrator privileges and do
  2283. whatever it wants with the system--infect other users' files, attack
  2284. other systems, etc.
  2285.  
  2286. A trivial improvement of the above scenario (in terms of speeding up the
  2287. virus' spread) would be for the attacker to place the virus in some kind
  2288. of Trojan Horse--for example, in an attractive game or utility--placed
  2289. in a publicly accessible area.
  2290.  
  2291. Why, then, are there so many fewer viruses for mainframe computers than
  2292. for personal ones?  The answer to this question is complex.  First,
  2293. writing a well-made mainframe virus--one that does not cause problems
  2294. and is likely to remain unnoticed--is not a trivial task.  It requires a
  2295. lot of knowledge about the operating system.  This knowledge is not
  2296. commonly available and the typical youngster who is likely to hack a
  2297. quick-and-dirty PC virus is unlikely to possess it or be in a position
  2298. to learn it.  People who possess this knowledge are likely to use it in
  2299. more constructive, satisfying, and profitable ways.  Second, the culture
  2300. of software exchange in the mainframe world differs considerably from
  2301. that of the PC world--we don't see many VMS users running around with a
  2302. bootable tape of the latest game...  Third, very often it is easier to
  2303. attack a mainframe computer by using some security hole or a Trojan
  2304. Horse, instead of by using a virus.
  2305.  
  2306. So, computer viruses for mainframe computers are definitely possible and
  2307. several already exist (see question F1).  Also, some IBM PC viruses can
  2308. infect any IBM PC compatible machine, even if it runs a "real" OS like
  2309. Unix.  For more information, refer to questions D6 and E7.
  2310.  
  2311. Forms of malware other than computer viruses--notably Trojan Horses--are
  2312. far quicker, more effective, and harder to detect than computer viruses.
  2313. Nevertheless, on personal computers many more viruses are written than
  2314. Trojan Horses.  There are two reasons for this:
  2315.  
  2316. 1.   Since a virus is self-propogating, the number of users to
  2317.      which it can spread (and cause damage) can be much greater
  2318.      than in the case of a Trojan;
  2319.  
  2320. 2.   It's almost impossible to trace the source of a virus since
  2321.      (generally) viruses are not attached to any particular
  2322.      program.
  2323.  
  2324. For further information on malicious programs on multi-user systems, see
  2325. Matt Bishop's paper, "An Overview of Malicious Logic in a Research
  2326. Environment", available by anonymous FTP on Dartmouth.edu (IP =
  2327. 129.170.16.4) as pub/security/mallogic.ps.
  2328.  
  2329.  
  2330. E8)  Some people say that disinfecting is a bad idea.  Is that true?
  2331.  
  2332. Disinfection is completely "safe" only if the disinfecting process
  2333. completely restores the non-infected state of the object.  That is, not
  2334. only must the virus be removed from the object, but the original length
  2335. must be restored exactly, as well as any system attributes (such as time
  2336. and date of last modification, fields in the header, etc).  Sometimes it
  2337. is necessary to be sure that the object is placed on the same sectors of
  2338. the disk that it occupied prior to infection (this is particularly
  2339. important for some system areas and some files from programs which use
  2340. certain kinds of self-checking or copy protection).
  2341.  
  2342. None of the currently available disinfecting programs do all this.  For
  2343. instance, because of the bugs that exist in many viruses and because
  2344. some infection processes involve overwriting (part of) the objects of
  2345. infection, some of the information about the original object may be
  2346. irrevocably destroyed.  Sometimes it is not even possible to detect that
  2347. this information has been destroyed and to warn the user.  Furthermore,
  2348. some viruses corrupt information very slightly and in a random way
  2349. (Nomenklatura, Ripper), so that it is not even possible to tell which
  2350. objects have been corrupted.
  2351.  
  2352. Therefore, it is usually better to replace infected objects with clean
  2353. backups, provided you are certain that your backups are uninfected (see
  2354. D10), or from the original media.  You should try to disinfect files
  2355. only if they contain some valuable data that cannot be restored from
  2356. backups or recompiled from their original source.
  2357.  
  2358.  
  2359. E9)  Can I avoid viruses by avoiding shareware, free software or games?
  2360.  
  2361. No.  There are many documented instances in which even commercial
  2362. "shrink wrapped" software was inadvertently distributed containing
  2363. viruses.  Avoiding shareware, freeware, games, etc, only isolates you
  2364. from a vast collection of software (some of it very good, some of it
  2365. very bad, most of it somewhere in between...).
  2366.  
  2367. The important thing is not to avoid a certain type of software, but to
  2368. be cautious of *any and all* newly acquired software and diskettes.
  2369. Merely scanning all new software media for known viruses would be rather
  2370. effective at preventing virus infections, especially when combined with
  2371. some other prevention/detection strategy such as integrity management of
  2372. programs.
  2373.  
  2374.  
  2375. E10) Can I contract a virus on my PC by performing a "DIR" of an
  2376.      infected floppy disk?
  2377.  
  2378. Assuming the PC you are using is virus free before you perform the DIR
  2379. command, then the answer is "No".
  2380.  
  2381. When you perform a DIR, the contents of the boot sector of the diskette
  2382. are loaded into a buffer for use in determining disk layout etc, and
  2383. certain antivirus products will scan these buffers.  If a boot sector
  2384. virus has infected your diskette, the virus code will be contained in
  2385. the buffer, which may cause some antivirus packages to produce a message
  2386. like "xyz virus found in memory...".  In fact, the virus is not a threat
  2387. at this point since control of the CPU is never passed to the virus code
  2388. residing in the buffer.  Even though the virus is really not a threat at
  2389. this point, this message should not be ignored.  If you get a message
  2390. like this, and then reboot from a clean DOS diskette (see G8) and scan
  2391. your hard-drive and find no virus, then you know that the false positive
  2392. was caused by an infected boot-sector loaded into a buffer, and the
  2393. diskette should be disinfected before use.  The use of DIR will not
  2394. infect a clean system, even if the diskette it is being performed on
  2395. does contain a virus (see C8 also).  Please note, however, that running
  2396. DIR on a diskette can result in the infection of a clean diskette if the
  2397. PC is already infected.
  2398.  
  2399. Despite our categorical "No" answer above, there is a small risk that a
  2400. virus infection could be transferred from a floppy through a DIR
  2401. listing.  If you use an ANSI console driver that allows key remapping,
  2402. it is possible that a specially prepared diskette could reprogram your
  2403. keyboard so that pressing a particular key caused an infected program on
  2404. the diskette to run the next time the reprogrammed key was pressed.  The
  2405. risk of such an attack is very low and can easily be negated following
  2406. the general advice for preventing ANSI bombs (see B14).
  2407.  
  2408. Mac users with system software prior to version 7.0 should be aware of a
  2409. greater threat in their environment.  Various system resources (which
  2410. can contain executable code) are loaded from the automatic access to a
  2411. diskette that is part of the system building its desktop view of the
  2412. diskette's contents.  When such a resource is required, the most
  2413. recently loaded one will be used.  Thus, if a diskette with a virus-
  2414. infected resource in the Desktop file is in your Mac's drive, and an
  2415. uninfected copy of that resource has not subsequently loaded from
  2416. elsewhere, the next time that resource is required the infected copy
  2417. will be executed, along with the virus.  This kind of attack was removed
  2418. with the introduction of version 7.0 (and later) of the system software,
  2419. which handles such things quite differently.  A common Mac virus, WDEF,
  2420. uses this infection path, as do a few others.
  2421.  
  2422. Early versions of AmigaDOS are susceptible to a threat similar to the
  2423. Mac WDEF virus--on inserting a diskette into the drive, the operating
  2424. system runs the Disk Validator from the diskette.  At least one Amiga
  2425. virus, Saddam, attaches itself to Disk Validator to help it spread.
  2426. Version 2.0 of AmigaDOS eliminated the threat of this type of attack by
  2427. removing the need for the Disk Validator.
  2428.  
  2429.  
  2430. E11) Is there any risk in copying data files from an infected floppy
  2431.      disk to a clean PC's hard disk?
  2432.  
  2433. Assuming that you did not boot or run any executable programs from the
  2434. infected disk, the answer generally is no.  There are two caveats:
  2435.  
  2436. 1.   You should be somewhat concerned about checking the integrity
  2437.      of these data files as they may have been destroyed or
  2438.      altered by the virus.
  2439. 2.   If any of the "data" files are interpretable as executable by
  2440.      some other program (such as a Lotus macro) then these files
  2441.      should be treated as potentially malicious until the symptoms
  2442.      of the infection are known.
  2443.  
  2444. The copying process itself is safe (given the above scenario) although
  2445. you should be concerned with what type of files are being copied to
  2446. avoid introducing other problems.
  2447.  
  2448.  
  2449. E12) Can a DOS virus survive and spread on an OS/2 system using the
  2450.      HPFS file system?
  2451.  
  2452. Yes, both file-infecting and boot sector viruses can infect HPFS
  2453. partitions.  File-infecting viruses function normally and can activate
  2454. and do their dirty deeds, and boot sector viruses can prevent OS/2 from
  2455. booting if the primary bootable partition is infected.  Viruses that try
  2456. to address disk sectors directly cannot function under OS/2 because the
  2457. operating system prevents this activity.
  2458.  
  2459.  
  2460. E13) Under OS/2 2.0+, could a virus infected DOS session infect another
  2461.      DOS session?
  2462.  
  2463. Each DOS program is run in a separate Virtual DOS Machine (their memory
  2464. spaces are kept separate by OS/2).  However, any DOS program has almost
  2465. complete access to the files and disks, so infection can occur if the
  2466. virus infects files; any other DOS session that executes a program
  2467. infected by a virus that makes itself memory resident would itself
  2468. become infected.
  2469.  
  2470. Also, bear in mind that generally all DOS sessions share the same copy
  2471. of the command interpreter.  Hence if *it* becomes infected, the virus
  2472. will be active in *all* DOS sessions.
  2473.  
  2474.  
  2475. E14) Can normal DOS viruses work under MS Windows?
  2476.  
  2477. Most of them cannot.  A system that runs exclusively MS Windows is, in
  2478. general, more virus-resistant than a plain DOS system.  The reason is
  2479. that most resident viruses are not compatible with the memory management
  2480. in Windows.  Furthermore, most existing viruses will damage Windows
  2481. applications if they try to infect them as normal (i.e. DOS) EXE files.
  2482. The damaged applications will stop working and this will alert the user
  2483. that something is wrong.
  2484.  
  2485. Virus-resistant however, is by no means virus-proof.  For instance, most
  2486. of the well-behaved resident viruses that infect only COM files (Cascade
  2487. is an excellent example), will work perfectly in a "DOS box".  All non-
  2488. resident COM infectors will be able to run and infect too.  Aside from
  2489. DOS viruses, MS Windows users can also contract several currently known
  2490. Windows-specific viruses, which are able to infect Windows applications
  2491. properly (i.e., they are compatible with the NewEXE file format).
  2492.  
  2493. Any low level trapping of Interrupt 13, as by resident boot sector and
  2494. MBR viruses, can also affect Windows operation, particularly if
  2495. protected disk access (32BitDiskAccess=ON in SYSTEM.INI) is used.
  2496.  
  2497.  
  2498. E15) Can I get a virus from reading e-mail, BBS message forums or
  2499.      USENET News?
  2500.  
  2501. In general terms, the answer is no.  E-mail messages and postings on
  2502. BBSes and News are text data and will not be executed as programs.
  2503. Computer viruses are programs, and must be executed to do anything, so
  2504. the simple act of reading online messages doesn't pose a threat of
  2505. catching a computer virus.
  2506.  
  2507. There are a few provisos to be made.  If your computer uses ANSI screen
  2508. and keyboard controls, you may be susceptible to an ANSI bomb (see B14).
  2509. An ANSI bomb may, merely by being placed in text read on the screen,
  2510. temporarily redefine keys on the keyboard to perform various functions.
  2511. It is, however, very unlikely that you will ever see an ANSI bomb in
  2512. e-mail, or that it could do significant damage while you are reading
  2513. mail.
  2514.  
  2515. Another possibility is that mail can be used to send programs.  To do
  2516. this program files have to be encoded into a special form so the binary
  2517. (8-bit) program files are not corrupted by transfer over the text-only
  2518. (7-bit) e-mail transport medium.  Probably the commonest of these
  2519. encoding schemes is uuencoding, though there are several others.  If you
  2520. receive an encoded program, you normally have to use a decoding program
  2521. or special option in your e-mail program to extract it and decode it
  2522. before it can be run.  Once you have extracted the program though, you
  2523. should then treat it as you would any other program whose source you do
  2524. not know, and test it before you run it.
  2525.  
  2526. A third possibility is with the newer, highly-automated online systems.
  2527. Some of these attempt to make online access much easier for the user by
  2528. automating such features as file transfer and program updates.  At least
  2529. one commercial online service is known to have the capability of sending
  2530. new programs to the user and to invoke those programs while the user is
  2531. still online.  While there is no reason to assume that any service that
  2532. does this *will* infect you, any time things are going on that you are
  2533. not being told about, you are at greater risk.
  2534.  
  2535.  
  2536. E16) Can a virus "hide" in a GIF or JPEG file?
  2537.  
  2538. The simple answer is "no".  The complete answer is more complex.
  2539.  
  2540. GIF and JPEG (.JPG) files contain compressed graphical information.
  2541. Every now and then, rumors arise that is possible to infect those files
  2542. with a virus in such a way, that it will spread when you display one of
  2543. these images.  This is technically impossible--no part of the GIF or
  2544. JPEG format contains code that is executed by the viewer program.
  2545.  
  2546. It *is* possible to use the least significant bit of the color
  2547. information for each pixel in GIF files to store additional information,
  2548. without visibly altering the quality of the picture contained in the
  2549. file.  This is called "steganography" and is sometimes used to transmit
  2550. secretly encrypted messages.  Since a virus is nothing more than
  2551. information, it is possible to "encode" it into a GIF file and transmit
  2552. it this way.  However, the recipients must be aware that the GIF file
  2553. contains such hidden information and take some deliberate steps to
  2554. extract it--it cannot happen against their will.
  2555.  
  2556.  
  2557.  
  2558. ========================================
  2559. = Section F.   Miscellaneous Questions =
  2560. ========================================
  2561.  
  2562. F1)  How many viruses are there?
  2563.  
  2564. It is not possible to give an exact number because new viruses are
  2565. literally being created every day.  Furthermore, different antivirus
  2566. researchers use different criteria to decide whether two viruses are
  2567. different or one and the same.  Some count viruses as different if they
  2568. differ by at least one bit in their non-variable code.  Others group
  2569. viruses in families and do not count the closely related variants within
  2570. a family as different viruses.
  2571.  
  2572. Further, some antivirus researchers have samples in their collections
  2573. that they count as viruses, but that several other experts strongly deny
  2574. are viruses.  Sometimes these are "partial viruses", where a virus has
  2575. not properly infected a host and are therefore non-infective, other
  2576. times they are well-known non-viruses.  As some of these non-viruses are
  2577. known to be in some of the common test sets, some antivirus software
  2578. vendors count them amongst the viruses they detect.
  2579.  
  2580. As of January 1995 there were about 5,600 PC viruses, about 150 Amiga
  2581. viruses, about 100 Acorn Archimedes viruses, about 45 Macintosh viruses,
  2582. several Atari ST viruses, a few Apple II viruses, four Unix viruses,
  2583. three MS Windows viruses, at least two OS/2 viruses and two VMS DCL-
  2584. based viruses.
  2585.  
  2586. Fortunately, few of the existing viruses are widespread.  For instance,
  2587. only about three dozen of the known PC viruses cause most of the
  2588. reported infections and fewer than 200 PC viruses have been found in the
  2589. wild at all.
  2590.  
  2591.  
  2592. F2)  How do viruses spread so quickly?
  2593.  
  2594. This is a very complex issue, and some viruses don't spread quickly at
  2595. all (though talk of them often does!).
  2596.  
  2597. Those that do spread widely are able to do so for a variety of reasons.
  2598. A large target population--millions of compatible computers--helps. A
  2599. large virus population helps.  Vendors whose quality assurance relies
  2600. on, for example, outdated scanners, help.  Users who gratuitously
  2601. install new software on their systems without making any attempt to test
  2602. for viruses help.  All of these things are factors.
  2603.  
  2604.  
  2605. F3)  What is the correct plural of "virus"?  "Viruses" or "viri" or
  2606.      "virii" or "vira" or...
  2607.  
  2608. The correct English plural of "virus" is "viruses".  The Latin word is a
  2609. mass noun (like "air") and, therefore, there is no correct Latin plural.
  2610. Please use "viruses", and if people use other forms, please do *not* use
  2611. Virus-L/comp.virus to correct them.
  2612.  
  2613.  
  2614. F4)  When reporting a virus infection (and looking for assistance), what
  2615.      information should be included?
  2616.  
  2617. People frequently post messages to Virus-L/comp.virus requesting
  2618. assistance with a suspected virus problem.  Quite often the information
  2619. supplied is insufficient for the various experts on the list to be able
  2620. to help at all.  Also, please note that any such assistance from members
  2621. of the list is provided on a voluntary basis; be grateful for any help
  2622. received.  Try to provide the following information in your requests for
  2623. assistance:
  2624.  
  2625. 1.   The date and location (town and country) of suspected
  2626.      infection.
  2627. 2.   The name of the virus (if known)
  2628. 3.   The program (or programs) and version that called the virus
  2629.      by that name.
  2630. 4.   Any other antivirus software that you are running and whether
  2631.      it has been able to detect the virus or not, and if yes, what
  2632.      name it called the virus.
  2633. 5.   Your software and hardware configuration (computer type,
  2634.      kinds of disk(ette) drives, amount of memory and
  2635.      configuration (extended/expanded/conventional), the exact
  2636.      version of your OS, TSR programs and device drivers used,
  2637.      control panels and INITs, etc.).
  2638. 6.   Any "unusual" behavior that has occurred recently and any new
  2639.      software (including upgrades) you have recently installed.
  2640.  
  2641. It is helpful if you can use more than one scanning program to identify
  2642. a virus, and to say which scanner gave which identification.  However,
  2643. some scanning programs leave "scan strings" in memory which will confuse
  2644. others, so it is best to do a "cold reboot" between runs of successive
  2645. scanners, particularly if you are getting conflicting results (see C6).
  2646.  
  2647.  
  2648. F5)  How often should we upgrade our antivirus tools to minimize
  2649.      software and labor costs and maximize our protection?
  2650.  
  2651. This is a difficult question to answer.  Antivirus software is a kind of
  2652. insurance, and these type of calculations are difficult.
  2653.  
  2654. There are two things to watch out for here: the general "style" of the
  2655. software, and the scan strings that scanners use to identify viruses.
  2656. Scanners should be updated more frequently than other software, and it
  2657. is probably a good idea to update a scanner's set of scan strings at
  2658. least once every two months.  In the six or so months prior to January
  2659. 1995, most of the popular PC-based virus scanners typically added
  2660. detection of about 500-600 new viruses or variants--this averages out to
  2661. between two and three new viruses per day!
  2662.  
  2663. Some antivirus software looks for changes to programs or specific types
  2664. of viral "activity", and these programs generally claim to be good for
  2665. "all current and future viral programs".  However, even these programs
  2666. cannot guarantee to protect against all future viruses, as new "attack"
  2667. and anti-antivirus methods are continually being developed by virus
  2668. writers.  Thus, even this type of antivirus software needs to be
  2669. upgraded occasionally.
  2670.  
  2671. Of course, not every antivirus product is effective against all viruses,
  2672. even if upgraded regularly.  Thus, do *not* depend on the fact that you
  2673. have upgraded your product recently as a guarantee that your system is
  2674. free of viruses!
  2675.  
  2676.  
  2677. F6)  What are "virus simulators" and what use are they?
  2678.  
  2679. There are three different kinds of programs that are often called "virus
  2680. simulators". None of the three generate actual viruses.  The first kind
  2681. demonstrate the audio- and video-effects of some real computer viruses.
  2682. The second kind are programs that simulate a virtual environment--a
  2683. virtual computer, with virtual disks, virtual files, and virtual viruses
  2684. on them.  The user of such programs can manipulate the simulated
  2685. objects, letting the simulated viruses infect the simulated files on the
  2686. simulated disks, watching every step of the process, without a danger of
  2687. "real infection".  The third kind are programs that generate files
  2688. containing scan strings used by some scanners to detect real viruses.
  2689. The idea is that those scanners will detect the generated files too,
  2690. thus letting the user get the feeling of what discovering a virus is
  2691. like, but without the danger of risking a real infection.
  2692.  
  2693. There are three ways in which virus simulators are usually used:
  2694.  
  2695. 1) For educational purposes.  The second kind of virus simulators are
  2696. very useful and valuable for this purpose, provided the simulated
  2697. environment is realistic enough.  The first kind are also somewhat
  2698. useful--mainly teaching the users what the video- or audio-effects of
  2699. particular viruses are like.  There is the danger, however, that users
  2700. will get the incorrect impression that *every* computer virus
  2701. demonstrates itself in some visible or audible way.  The third kind of
  2702. virus simulators are not useful for this purpose--they do not show how
  2703. computer viruses work, do not show what computer viruses do, and because
  2704. their virus fragments are not reliably detected as viruses by many good
  2705. scanners, may give the wrong impression of a scanner's value.
  2706.  
  2707. 2) As an installation check that antivirus defenses are installed and
  2708. working.  The first and second kinds of virus simulators are unsuitable
  2709. for this, because they do not trigger any antivirus defenses.  Even the
  2710. third kind of virus simulators have a rather limited value in this
  2711. regard, as the files generated by them often fail to trigger virus
  2712. defenses, which are designed to protect against *real* viruses.  Unlike
  2713. the producers of such simulators, many believe it is the job of the
  2714. producer of an antivirus product to provide the means of checking
  2715. whether their product is installed and working.  This position is based
  2716. on the authors knowing their products better than anyone else and that
  2717. updated check methods will normally be provided as the antivirus
  2718. defenses employed in any given product change.
  2719.  
  2720. 3) As a test of the quality of the antivirus defense--usually a scanner.
  2721. Again, the first two kinds of simulators are unsuitable for this purpose
  2722. because they do not trigger antivirus defenses.  The third kind of virus
  2723. simulators often do, from which many users get the impression that they
  2724. are suitable for these testing purposes.  This is a serious
  2725. misconception.  The files that such programs generate are not real
  2726. viruses; antivirus programs, particularly virus-specific ones like
  2727. scanners, are designed to detect real viruses.  Therefore, one must not
  2728. draw a conclusion from the ability or the inability of a product to
  2729. detect "simulated viruses" of the third kind--the fact that they are
  2730. detected does not necessarily mean that a real virus will be detected,
  2731. and the fact that they are not detected does not mean that the real
  2732. virus it is supposed to represent will not be detected!
  2733.  
  2734. One exception to the above are simulators that do not generate files
  2735. containing scan strings, but which simulate the different kinds of
  2736. attacks that real viruses use, but without being able to replicate.
  2737. Examples of such attacks include different methods of tunnelling,
  2738. stealth, attacks against integrity checkers, and so on.  Such simulators
  2739. are useful for testing antivirus products that are not virus-specific,
  2740. especially if the simulator exercises a wide range of known attacks.
  2741.  
  2742.  
  2743. F7)  I've heard talk of "good viruses".  Is it possible to use a
  2744.      computer virus for something useful?
  2745.  
  2746. A very hotly debated topic that has flared-up dramatically several times
  2747. in Virus-L/comp.virus.  The answer to this is not simple and largely
  2748. hinges on your definition or interpretation of the term computer virus.
  2749.  
  2750. By definition (see B1), viruses do not have to do something "bad"
  2751. (although many people argue that the uninvited "resource wasting" that
  2752. is almost inherent in viral activity is necessarily bad).  From this
  2753. point (and based on his somewhat esoteric definition of the term
  2754. computer virus) Fred Cohen has argued that "good" or "useful" computer
  2755. viruses are a serious possibility.  In fact, Dr. Cohen offered a reward
  2756. of $1000 for the first clearly "useful" virus--despite several potential
  2757. claimants, however, he hasn't paid up.
  2758.  
  2759. Although there has never been a position that was widely agreed upon as
  2760. a result of any of these discussions, many contributors to this forum
  2761. believe that there are serious problems with the idea of implementing
  2762. useful computing functionality through self-replicating programs.
  2763. Vesselin Bontchev's paper originally delivered at the 1994 EICAR
  2764. conference, titled "Are `Good' Computer Viruses Still a Bad Idea?", is
  2765. available by anonymous FTP from ftp.informatik.uni-hamburg.de (IP =
  2766. 134.100.4.42), as pub/virus/texts/viruses/goodvir.zip.  *Anyone* wishing
  2767. to raise this discussion in Virus-L/comp.virus again should read and
  2768. carefully consider this paper before posting.  It contains many strong
  2769. arguments against the idea of "good computer viruses", and some
  2770. prescriptions of how good viruses would have to be implemented and
  2771. distributed to deserve the label "good".  To date no strong arguments
  2772. countering the points in this paper or otherwise arguing in favor of the
  2773. concept of good viruses have been posted to the group.
  2774.  
  2775.  
  2776. F8)  Wouldn't adding self-checking code to your programs be a good idea?
  2777.  
  2778. Every few months somebody suggests the idea of adding a small piece of
  2779. code to existing programs.  This code would check for virus infections
  2780. when the program is executed by comparing a previously computed CRC or
  2781. cryptographic checksum (hash value) of the file in its known clean state
  2782. with its current value.  The idea is that this will detect any virus
  2783. infection immediately, and is thus effective against unknown viruses.
  2784.  
  2785. A simple and intuitively attractive idea--in fact, some antivirus
  2786. programs have included options to do just this.  There are, however,
  2787. some serious flaws with this approach.
  2788.  
  2789. This method cannot prevent the program from getting infected in the
  2790. first place.  Further, if a program that has been protected this way
  2791. becomes infected later, whenever it is run the virus code will be
  2792. activated first.  The virus may then be able to detect or even remove
  2793. the self-checking code, or it might make it totally ineffective by using
  2794. stealth techniques, so the self-checking code only "sees" the original,
  2795. non-infected program.
  2796.  
  2797. Some programs contain an internal self-check--much antivirus software,
  2798. for example.  Such internal code might also be unable to detect stealth
  2799. viruses, but unless the external self-check code uses stealth techniques
  2800. too, the result will be a conflict, where the internal check will notice
  2801. the newly added code and decide that it has been "infected".
  2802.  
  2803. Moreover, this method is ineffective against "companion" viruses that
  2804. don't modify the applications they infect.
  2805.  
  2806. It may not be possible to protect all programs this way.  For example,
  2807. under DOS it is relatively easy to add code of this type to most COM
  2808. files (unless the original program was slightly less than 64K, and the
  2809. resulting file would break that limit).  However, EXE files are more of
  2810. a problem--especially those containing internal overlays, where one
  2811. cannot append the code to the file, as the resulting file might become
  2812. too big to load.  Windows applications are also a problem, as they have
  2813. two different entry points, and special care has to be taken to handle
  2814. that correctly.
  2815.  
  2816. On the other hand, adding internal self-checking to programs as part of
  2817. their development is a good idea.  Although it has the same limitations
  2818. regarding stealth viruses, it does not cause the conflicts described
  2819. above, and can be put in any program at compile-time.  It is also much
  2820. more difficult for viruses to bypass.
  2821.  
  2822.  
  2823.  
  2824. ===================================================================
  2825. = Section G.   Specific Virus and Antivirus Software Questions... =
  2826. ===================================================================
  2827.  
  2828. G1)  I was infected by the Jerusalem virus and disinfected the infected
  2829.      files with my favorite antivirus program.  However, WordPerfect
  2830.      and some other programs still refuse to work.  Why?
  2831.  
  2832. The Jerusalem virus and WordPerfect 4.2 program combination is an
  2833. example of a virus and program that cannot be completely disinfected by
  2834. an antivirus tool.  In some cases such as this, the virus will destroy
  2835. code by overwriting it instead of appending itself to the file.  The
  2836. only solution is to re-install the programs from clean (non-infected)
  2837. backups or distribution media (see D10 and E8).
  2838.  
  2839.  
  2840. G2)  Is my disk infected with the Stoned virus?
  2841.  
  2842. Of course the answer to this, and many similar questions, is to obtain a
  2843. good virus detector.  There are many to choose from, including ones that
  2844. will scan diskettes automatically as you use them.  As Stoned is a boot
  2845. sector infector, remember to check all diskettes, even non-system or
  2846. "data" diskettes (see E1).
  2847.  
  2848. It is possible, if you have an urgent need to check a system when you
  2849. don't have any antivirus tools, to run CHKDSK or MEM and note down the
  2850. values reported (see C1) and then to boot from a known clean system
  2851. diskette and compare the results returned by CHKDSK or MEM.  If the
  2852. total amount of conventional memory reported is different between the
  2853. two boots then you may have a viral problem but this information alone
  2854. cannot tell us if it is Stoned.  If you cannot see the PC's hard disk
  2855. (usually the C: drive) then it is even more likely you have a virus
  2856. problem, though definitely not Stoned.  If you have a "disk editor" type
  2857. program, looking at the boot sector of a suspect floppy, or the MBR of
  2858. the suspect hard drive may be helpful.  If you have Stoned, the first
  2859. byte will indicate the characteristic far jump of the virus (hex: EA)
  2860. instead of the more common short jump (hex: EB) of the boot loader.
  2861. Even if that is the first byte, you could be looking at a perfectly good
  2862. disk that has been "inoculated" against the virus *or* is infected with
  2863. some other virus which makes similar changes, or at a diskette that
  2864. seems safe but contains a totally different type of virus.
  2865.  
  2866.  
  2867. G3)  I was told that the Stoned virus displays the text "Your PC is now
  2868.      Stoned" at boot time.  I have been infected by this virus several
  2869.      times, but have never seen the message.  Why?
  2870.  
  2871. The "original" Stoned message was ".Your PC is now Stoned!", where the
  2872. "." represents the "bell" character (ASCII 7 or "PC speaker beep").  The
  2873. message is displayed with a probability of 1 in 8 *only* when a PC is
  2874. booted from an infected *diskette*.  When booting from an infected hard
  2875. disk, Stoned never displays this message.
  2876.  
  2877. Further, versions of Stoned with no message whatsoever or only the
  2878. leading bell character have become very common.  These versions of
  2879. Stoned are likely to go unnoticed by all but the most observant, even
  2880. when regularly booting from infected diskettes.
  2881.  
  2882. Contrary to some reports, the Stoned virus does *not* display the
  2883. message "LEGALISE MARIJUANA", although such a string is quite clearly
  2884. visible in the boot sectors of diskettes and MBR's of hard disks
  2885. infected with the "original" version of Stoned.
  2886.  
  2887.  
  2888. G4)  I was infected by both Stoned and Michelangelo.  Why has my
  2889.      computer become unbootable?  And why, each time I run my favorite
  2890.      scanner, does it find one of the viruses and say that it is
  2891.      removed, but when I run it again, it says that the virus is still
  2892.      there?
  2893.  
  2894. These two viruses store the original Master Boot Record at one and the
  2895. same place on the hard disk.  They do not recognize each other, and
  2896. therefore a computer can become infected with both of them at the same
  2897. time.
  2898.  
  2899. The first of these viruses that infects the computer will overwrite the
  2900. Master Boot Record with its body and store the original MBR at a certain
  2901. place on the disk.  So far, this is normal for a boot-record virus.  But
  2902. if now the other virus infects the computer too, it will replace the MBR
  2903. (which now contains the virus that has come first) with its own body,
  2904. and store what it believes is the original MBR (but in fact is the body
  2905. of the first virus) *at the same place* on the hard disk, thus
  2906. *overwriting* the original MBR.  When this happens, the contents of the
  2907. original MBR are lost.  Therefore the disk becomes non-bootable.
  2908.  
  2909. When a virus removal program inspects such a hard disk, it will see the
  2910. *second* virus in the MBR and will try to remove it by overwriting it
  2911. with the contents of the sector where this virus normally stores the
  2912. original MBR.  However, now this sector contains the body of the *first*
  2913. virus.  Therefore, the virus removal program will install the first
  2914. virus in trying to remove the second.  In all probability it will not
  2915. wipe out the sector where the (infected) MBR has been stored.
  2916.  
  2917. When the program is run again, it will find the *first* virus in the
  2918. MBR.  By trying to remove it, the program will get the contents of the
  2919. sector where this virus normally stores the original MBR, and will move
  2920. it over the current (infected) MBR.  Unfortunately, this sector still
  2921. contains the body of the *first* virus.  Therefore, the body of this
  2922. virus will be re-installed over the MBR ad infinitum.
  2923.  
  2924. There is no easy solution to this problem, since the contents of the
  2925. original MBR are lost.  The only solution for the antivirus program is
  2926. to detect that there is a problem, and to overwrite the contents of the
  2927. MBR with a valid MBR program, which the antivirus program has to provide
  2928. itself.  If your favorite antivirus program is not that smart, consider
  2929. replacing it with a better one, or try using the boot sector
  2930. disinfection procedure described elsewhere (see C3).
  2931.  
  2932. In general, infection of the same file or area by multiple viruses is
  2933. possible and vital areas of the original may be lost.  This can make it
  2934. difficult or impossible for virus disinfection tools to be effective,
  2935. and replacement of the lost file/area will be necessary.
  2936.  
  2937.  
  2938. G5)  My scanner finds the Filler and/or Israeli Boot virus in memory,
  2939.      but after I boot from a clean floppy it reports no viruses.  Am I
  2940.      infected?
  2941.  
  2942. This is almost certainly a "false positive" (see C5).  One particular,
  2943. popular antivirus product (usually its TSR scanner/monitor VSAFE) leaves
  2944. its scan strings in memory in an unencoded form, and is well-known for
  2945. causing false positives on Filler and Israeli Boot.  Your other scanner
  2946. sees the first's scan strings (at least those for Filler and/or Israeli
  2947. Boot) and reports a virus in memory.  When you boot from a floppy you
  2948. (probably) are not loading the resident scanner, so it doesn't have a
  2949. chance to "booby-trap" your other scanner.  To fix this problem, try
  2950. adding "REM " to the beginning of the line in your AUTOEXEC.BAT or
  2951. CONFIG.SYS file that loads the suspect TSR, and see if the problem
  2952. disappears.
  2953.  
  2954.  
  2955. G6)  I was infected with Flip and now a large part of my hard disk
  2956.      seems to have disappeared.  What has happened?
  2957.  
  2958. Flip has a logic error, probably based on its author only knowing about
  2959. hard disk partitioning schemes under DOS 3.x (where partitions could not
  2960. exceed 32MB in size).
  2961.  
  2962. Part of Flip's infection routine decrements by six the "total number of
  2963. sectors" field in the BIOS Parameter Block (BPB--a table of critical
  2964. disk geometry data) in the DOS boot sector of the boot partition.  For
  2965. partitions of 32MB and under this field is meaningful, but in larger
  2966. partitions, this field is set to zero and a field in the "extended BPB"
  2967. contains the "big number of sectors" for that partition instead.  Not
  2968. knowing about larger partitions, Flip renders the large partitions it
  2969. meets a shade under 32MB.  The fix for this is to use a disk sector
  2970. editor to set the word at offset 13h of the affected DOS boot sector to
  2971. "00 00" (they should be set to "FA FF" if the situation above applies).
  2972. If you don't understand these instructions, do *not* attempt to follow
  2973. them and seek the help of a more technically knowledgeable person.
  2974.  
  2975.  
  2976. G7)  What does the GenB and/or the GenP virus do?
  2977.  
  2978. There is no such thing as *the* GenB or GenP virus.  It is a heuristic
  2979. used by a very popular scanner to detect boot sector viruses and means
  2980. "There is something very suspicious in the boot sector (GenB) or in the
  2981. MBR (GenP), and I am pretty sure that it is a virus, however, I have no
  2982. idea which particular virus it might be".  You should run a scanner
  2983. which has better recognition and identification capabilities (see B15),
  2984. if you want to know which particular virus you have.  One advantage of
  2985. the GenB/GenP report is that you can often use the disinfection utility
  2986. from the same producer to remove the virus, even if no other scanner can
  2987. remove it.  When told to remove the GenB/GenP "virus", the utility scans
  2988. the disk for something that looks like a saved copy of the original boot
  2989. sector or MBR and will put it back in place, thus removing the virus, or
  2990. it writes a good generic MBR if there is an apparently valid partition
  2991. table in the virus MBR.
  2992.  
  2993.  
  2994. G8)  How do I "boot from a clean floppy"?
  2995.  
  2996. "Put it in the A: drive and turn the power on."
  2997.  
  2998. The facetious answer aside, the real question here is usually more one
  2999. of "How do I ensure I have a clean boot floppy?"
  3000.  
  3001. As with so many issues concerning viruses, the important thing is to be
  3002. prepared *in advance*.  As with backups, a current, clean boot disk
  3003. should be a standard part of every personal computer system, as there
  3004. are other occasions than when facing a real or suspected virus infection
  3005. where being able to boot your computer to a "known good" state are
  3006. useful or desirable (e.g. you accidentally delete your disk-compression
  3007. driver from your hard disk).  As with backups, a current, clean boot
  3008. disk is one of the standard parts of a personal computer system most
  3009. commonly missing.
  3010.  
  3011. The important thing in preparing a clean boot diskette, especially where
  3012. it has to be used with a (suspected) virus infection, is that it must
  3013. *not* run a single byte of code from your hard disk.  This means your
  3014. boot floppy must contain all the basic operating system files, device
  3015. drivers and configuration commands necessary to make your system
  3016. minimally usable.  This diskette must be prepared on a system that is,
  3017. itself, guaranteed "clean" and it should be write-protected immediately
  3018. after it is completed.  Aside from a basic, minimal operating system,
  3019. your emergency boot diskette should contain the utilities necessary to
  3020. install your OS to a hard disk *and* basic diagnostic or "fix it"
  3021. programs and your favorite antivirus tools.  Depending upon disk space
  3022. considerations, you may need additional diskettes to hold all these
  3023. utilities.  For example, if you use DOS it is a good idea to copy the
  3024. following utility programs to your emergency boot disk (if your version
  3025. of DOS includes them): FDISK, CHKDSK and/or SCANDISK, FORMAT, SYS, MEM,
  3026. UNFORMAT, UNDELETE, MSD.
  3027.  
  3028. When it comes to rebooting your computer from a clean system disk, it is
  3029. most important that you perform a "cold start".  On a PC, this means
  3030. pressing the reset button or turning the power off on again, *not* by
  3031. pressing Ctrl-Alt-Del.  Regardless of the machine type, if you are
  3032. unsure, use the power off then power on method just described.  It is
  3033. even more important that your machine is correctly configured to try
  3034. booting from the floppy first.  Most contemporary BIOSes have an option
  3035. to select the boot order (A: then C: or C: then A:)--this must be set to
  3036. A: then C: for this procedure, though normally we strongly recommend
  3037. that you set this option to C: then A:.
  3038.  
  3039. As systems change from time to time, you may occasionally need to update
  3040. this most critical of diskettes so it will still boot your system to a
  3041. usable state.  As you may have recently contracted a new virus that
  3042. bypasses your current antivirus precautions, this update process can put
  3043. you at risk of infecting your "clean" emergency boot diskette.  Because
  3044. of this, it is prudent to have two such diskettes.  With system changes
  3045. you would update these in a "leap frog" manner.  This means your
  3046. previous emergency boot diskette might still bring your machine up to a
  3047. minimally useful state (such that you may still be able to make repairs)
  3048. should your updated emergency boot diskette be infected by a previously
  3049. unknown virus.
  3050.  
  3051. Unfortunately, this isn't the whole story either!  A PC virus known as
  3052. EXE_Bug can fake out the boot process by setting the PC's CMOS to look
  3053. as if there are no floppy drives in the machine.  Most BIOS'es don't
  3054. even try to boot from a floppy in this case, and go straight to the hard
  3055. disk, loading the virus from the MBR.  When EXE_Bug first loads into
  3056. memory, it checks to see if there is a diskette in the first floppy
  3057. drive, and if there is, it loads the boot sector from the diskette and
  3058. lets the floppy boot as normal.  Most people don't notice the subtly
  3059. different boot time and drive access order involved in this, so they
  3060. think they have booted clean, when in fact the virus is active in
  3061. memory!  To circumvent this possibility, you have to check the PC's CMOS
  3062. settings before letting the floppy boot proceed, make sure that your PC
  3063. "knows" it has a floppy drive, *and*, with some PCs, make sure that the
  3064. boot order option is set to "A: then C:".  This presents a chicken-and-
  3065. egg situation on some machines, as you may have to boot DOS on the
  3066. machine to be able to run the utility program that lets you change its
  3067. CMOS settings.
  3068.  
  3069. Remember, if you changed your BIOS's boot order option, set it back to
  3070. C: then A: after disinfecting your PC.
  3071.  
  3072.  
  3073. G9)  My PC diagnostic utility lists "Cascade" amongst the hardware
  3074.       interrupts (IRQs).  Does this mean I have the Cascade virus?
  3075.  
  3076. No!  This is quite normal on AT-style (286 and better) PCs (and on a few
  3077. 8086 (XT) class machines).  The original IBM PC design had one
  3078. Programmable Interrupt Controller (PIC) to handle hardware interrupts
  3079. generated when devices like disk controllers, serial and parallel ports,
  3080. LAN adaptors, etc have to be serviced.  While developing the AT, IBM
  3081. decided that the eight Interrupt ReQuest (IRQ) lines the original PIC
  3082. supported were probably insufficient for likely future expansion needs,
  3083. so they added a second PIC.  The two PIC's had to cooperate, so both
  3084. didn't interrupt the CPU concurrently.  This was achieved by having the
  3085. second PIC use an IRQ to signal the first PIC when it has an IRQ to
  3086. service.  IRQs 2 and 9 were used for this and are commonly called the
  3087. "cascade" IRQ, as they allow the second PIC to cascade an IRQ down to
  3088. the first PIC.
  3089.  
  3090.  
  3091. G10) Occasionally the text "welcome datacomp" appears in my Mac
  3092.      documents without me typing it.  Is this a virus?
  3093.  
  3094. Most likely not.  This phenomenon has been reported for a particular
  3095. make/model of third-party Macintosh-compatible keyboard.  It appears to
  3096. be a practical joke, coded into the keyboard's ROM, that causes the
  3097. keyboard to output that text (as if it was typed) after a period of
  3098. keyboard inactivity.  The only practical fix is to replace the keyboard.
  3099. This is, in effect, a hardware (technically "firmware") Trojan Horse--
  3100. the keyboard has features or functions that are not advertised and that
  3101. will be performed without the owner's or user's wish or permission.
  3102.  
  3103.  
  3104. G11) How good are the antivirus tools included with MS-DOS 6?
  3105.  
  3106. While this FAQ sheet avoids answering specific questions about
  3107. particular antivirus software (partly because the ground tends to move
  3108. very quickly!), the antivirus tools included with MS-DOS 6 are very
  3109. widely distributed and accessible.  We will not give a wide-ranging
  3110. answer here, but will point out that Microsoft Corporation does not use
  3111. MSAV but a competitor's product.  We suggest that anyone considering
  3112. using the antivirus tools supplied with MS-DOS 6 as a significant part
  3113. of their virus defense should read the review available by anonymous FTP
  3114. from (amongst others) ftp.informatik.uni-hamburg.de (IP = 134.100.4.42)
  3115. as /pub/virus/texts/viruses/msaveval.zip.
  3116.  
  3117.  
  3118. G12) When I do a "DIR | MORE", I see two files with random names that
  3119.      are not there when I just use "DIR".  On my friends's system they
  3120.      cannot be seen.  Do I have a virus?
  3121.  
  3122. No.  DOS's default commandline interpreter (COMMAND.COM) creates two
  3123. temporary files with unique names for every pipe character ("|") used on
  3124. the command line.  Starting with DOS version 5.0, these files are
  3125. created in the directory pointed to by the TEMP environment variable,
  3126. not in the current directory as they were in earlier DOS versions.  If
  3127. your TEMP setting is invalid or you have an earlier version of DOS you
  3128. will see these files in the current directory when you pipe the output
  3129. of a DIR command through MORE (or any other filter). If you don't see
  3130. these files in the current directory's listing, performing the command
  3131. "DIR | MORE" on the directory specified by the TEMP variable will reveal
  3132. them.
  3133.  
  3134. Generally, you would be better to use "DIR /P" instead of "DIR | MORE",
  3135. as this avoids the creation of the temporary files.  If you use an
  3136. alternative commandline interpreter, none of the above may apply.
  3137.  
  3138.  
  3139. G13) What is the ChipAway virus?  (Or ChipAwayVirus?)
  3140.  
  3141. The ChipAway virus is not a virus at all.  In fact, it is a poorly
  3142. chosen name for a good idea.  Many PCs have an advanced BIOS feature
  3143. that, when activated, prevents any writes to the MBR through BIOS disk
  3144. routines.  If active, this feature can cause problems if you install non-
  3145. DOS operating systems (like OS/2, Windows 95 or Windows NT), as their
  3146. installation routines typically need to write to the MBR, but for
  3147. general purpose computers, it is a good idea to turn on these options,
  3148. if they exist.
  3149.  
  3150. Unfortunately, one of the earliest and most widely available
  3151. implementations of this idea prints a message on screen at each system
  3152. startup to the effect "ChipAwayVirus installed".  This is supposed to
  3153. calm the owner's nerves, making them confident that their BIOS antivirus
  3154. system is working for them.  For fairly obvious reasons, it tends to
  3155. have the opposite effect!
  3156.  
  3157. [End of Virus-L/comp.virus FAQ sheet]
  3158.  
  3159.  
  3160. -----BEGIN PGP SIGNATURE-----
  3161. Version: 2.6.i
  3162.  
  3163. iQCVAgUBMHhJLo2yC8NpBpE5AQHa7gQA1Ye63ZVHxrk5rqMuTfj0468b+8tmdsfi
  3164. UpAdPblOPR44TwTFi6vU9BUYxGBjwoegO4yqufTpxEHlJDeaGBG3T3ACllROmr/4
  3165. 1RqHm0oYh4APKgwZIM7vuWAevU3QFcM1cxY702w/5YD/AMnSXj5rIHfMHBtbYNo9
  3166. PFNR0XgrQ6o=
  3167. =q4G1
  3168. -----END PGP SIGNATURE-----
  3169.